Skip to content

Commit

Permalink
Fix federation-menu Javascript to use h3
Browse files Browse the repository at this point in the history
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
  • Loading branch information
jancborchardt committed Oct 2, 2018
1 parent ba17caa commit 26e952f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions settings/js/federationsettingsview.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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');
Expand Down

0 comments on commit 26e952f

Please sign in to comment.