summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2018-10-02 16:20:53 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2018-10-02 16:20:53 +0200
commit26e952f3f245b44da6e15f21979b3b1243727651 (patch)
tree8b1c4a4f5fefa5955bf74d1410b2245b503e4986 /settings
parentba17caaec02953193efcf3966dd66105920cdd93 (diff)
downloadnextcloud-server-26e952f3f245b44da6e15f21979b3b1243727651.tar.gz
nextcloud-server-26e952f3f245b44da6e15f21979b3b1243727651.zip
Fix federation-menu Javascript to use h3
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'settings')
-rw-r--r--settings/js/federationsettingsview.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/js/federationsettingsview.js b/settings/js/federationsettingsview.js
index d20d7bb78b6..e2781833ed7 100644
--- a/settings/js/federationsettingsview.js
+++ b/settings/js/federationsettingsview.js
@@ -62,7 +62,7 @@
render: function() {
var self = this;
_.each(this._inputFields, function(field) {
- var $icon = self.$('#' + field + 'form h2 > .federation-menu');
+ var $icon = self.$('#' + field + 'form h3 > .federation-menu');
var scopeMenu = new OC.Settings.FederationScopeMenu({field: field});
self.listenTo(scopeMenu, 'select:scope', function(scope) {
@@ -189,8 +189,8 @@
},
_setFieldScopeIcon: function(field, scope) {
- var $icon = this.$('#' + field + 'form > h2 .icon-federation-menu');
-
+ var $icon = this.$('#' + field + 'form > h3 .icon-federation-menu');
+
$icon.removeClass('icon-password');
$icon.removeClass('icon-contacts-dark');
$icon.removeClass('icon-link');