summaryrefslogtreecommitdiffstats
path: root/settings/js/federationscopemenu.js
diff options
context:
space:
mode:
Diffstat (limited to 'settings/js/federationscopemenu.js')
-rw-r--r--settings/js/federationscopemenu.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/settings/js/federationscopemenu.js b/settings/js/federationscopemenu.js
index a9f41831b94..467ca48f62d 100644
--- a/settings/js/federationscopemenu.js
+++ b/settings/js/federationscopemenu.js
@@ -137,16 +137,6 @@
this.$el.removeClass('hidden');
OC.showMenu(null, this.$el);
-
- //Set the menuwidth
- var menuWidth = this.$el.width();
- this.$el.css('width', menuWidth);
-
- //Calculate menu position
- var l = offsetIcon.left - offsetHeading.left;
- l = l - (menuWidth / 2) + ($el.outerWidth()/2);
- this.$el.css('left', l);
-
}
});