aboutsummaryrefslogtreecommitdiffstats
path: root/settings/js/federationscopemenu.js
diff options
context:
space:
mode:
Diffstat (limited to 'settings/js/federationscopemenu.js')
-rw-r--r--settings/js/federationscopemenu.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/settings/js/federationscopemenu.js b/settings/js/federationscopemenu.js
index 4b1813f90e9..db8b8ff33f7 100644
--- a/settings/js/federationscopemenu.js
+++ b/settings/js/federationscopemenu.js
@@ -37,7 +37,7 @@
*/
var FederationScopeMenu = OC.Backbone.View.extend({
tagName: 'div',
- className: 'federationScopeMenu popovermenu bubble hidden menu',
+ className: 'federationScopeMenu popovermenu bubble menu menu-center',
field: undefined,
_scopes: undefined,
@@ -129,10 +129,6 @@
break;
}
- var $el = $(context.target);
- var offsetIcon = $el.offset();
- var offsetHeading = $el.closest('h2').offset();
-
this.render();
this.$el.removeClass('hidden');