diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2016-11-18 14:50:07 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-21 11:30:01 +0100 |
commit | f062c6daeef99167dbe6f6512510d2958c3c5208 (patch) | |
tree | cdf2db03f0e23d4b27f5566702748e9cfa5ec9b4 /settings/js/federationscopemenu.js | |
parent | 15c075eba8b28b524b24256169b03e9ec9f2c968 (diff) | |
download | nextcloud-server-f062c6daeef99167dbe6f6512510d2958c3c5208.tar.gz nextcloud-server-f062c6daeef99167dbe6f6512510d2958c3c5208.zip |
fix menu positioning hack
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'settings/js/federationscopemenu.js')
-rw-r--r-- | settings/js/federationscopemenu.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/federationscopemenu.js b/settings/js/federationscopemenu.js index a5da04df918..d073478ff5f 100644 --- a/settings/js/federationscopemenu.js +++ b/settings/js/federationscopemenu.js @@ -125,7 +125,7 @@ //Calculate menu position var l = offsetIcon.left - offsetHeading.left; - l = l - (menuWidth / 2) + ($el.width()/2); + l = l - (menuWidth / 2) + ($el.outerWidth()/2); this.$el.css('left', l); } |