diff options
Diffstat (limited to 'settings')
-rw-r--r-- | settings/css/settings.css | 1 | ||||
-rw-r--r-- | settings/js/federationsettingsview.js | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/settings/css/settings.css b/settings/css/settings.css index f99aa57be22..3dd2d9babaa 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -194,7 +194,6 @@ input#pass1, input#pass2, input#passwordbutton { .personal-settings-container > div h2 span[class^="icon-"], #personal-settings-avatar-container h2 span[class^="icon-"] { - display: inline-block; padding: 8px; margin-left: -8px; margin-bottom: -10px; diff --git a/settings/js/federationsettingsview.js b/settings/js/federationsettingsview.js index 1a0a3dcb4d1..d5537d19404 100644 --- a/settings/js/federationsettingsview.js +++ b/settings/js/federationsettingsview.js @@ -180,18 +180,24 @@ _setFieldScopeIcon: function(field, scope) { var $icon = this.$('#' + field + 'form > h2 > span'); + $icon.removeClass('icon-password'); $icon.removeClass('icon-contacts-dark'); $icon.removeClass('icon-link'); + $icon.addClass('hidden'); + switch (scope) { case 'private': $icon.addClass('icon-password'); + $icon.removeClass('hidden'); break; case 'contacts': $icon.addClass('icon-contacts-dark'); + $icon.removeClass('hidden'); break; case 'public': $icon.addClass('icon-link'); + $icon.removeClass('hidden'); break; } } |