Commit 295c8533 authored by Steffen van Bergerem's avatar Steffen van Bergerem

Fix profile visibility icon

parent 0e439f6c
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
app.pages.Settings = Backbone.View.extend({ app.pages.Settings = Backbone.View.extend({
initialize: function() { initialize: function() {
$(".settings_visibility").tooltip({placement: "top"}); $(".settings_visibility").tooltip({placement: "top"});
$(".profile-visibility-hint").tooltip({placement: "top"});
$("[name='profile[public_details]']").bootstrapSwitch(); $("[name='profile[public_details]']").bootstrapSwitch();
} }
}); });
......
...@@ -150,7 +150,6 @@ ...@@ -150,7 +150,6 @@
} }
#update_profile_form { #update_profile_form {
.visibility-hint-icon { .profile-visibility-hint { margin-left: 10px; }
cursor: pointer; .visibility-hint-icon { cursor: default; }
}
} }
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
= t("profiles.edit.extended") = t("profiles.edit.extended")
= t("profiles.edit.extended_visibility_text") = t("profiles.edit.extended_visibility_text")
= check_box_tag "profile[public_details]", true, profile.public_details, {"data-size" => "mini", "data-on-text" => t("profiles.edit.public"), "data-off-text" => t("profiles.edit.limited")} = check_box_tag "profile[public_details]", true, profile.public_details, {"data-size" => "mini", "data-on-text" => t("profiles.edit.public"), "data-off-text" => t("profiles.edit.limited")}
%span{ :title => t("profiles.edit.extended_hint") } %span.profile-visibility-hint{ title: t("profiles.edit.extended_hint") }
%i.entypo.circled-help.visibility-hint-icon %i.entypo-circled-help.visibility-hint-icon
.small-horizontal-spacer .small-horizontal-spacer
%h4= t('profiles.edit.your_bio') %h4= t('profiles.edit.your_bio')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment