diff options
author | Marin Treselj <marin@pixelipo.com> | 2017-07-28 14:44:29 +0200 |
---|---|---|
committer | Marin Treselj <marin@pixelipo.com> | 2017-07-28 14:44:29 +0200 |
commit | 086ce709f7368af41543178a3de5d3c561b5ddb7 (patch) | |
tree | 3744c13acbd52fbf894d76fe3d7928833baa5864 /core/js | |
parent | 09e7d12157e02a5ec0a5b57164ec25c9a4d093ef (diff) | |
download | nextcloud-server-086ce709f7368af41543178a3de5d3c561b5ddb7.tar.gz nextcloud-server-086ce709f7368af41543178a3de5d3c561b5ddb7.zip |
Fixes nextcloud/gallery#269
Signed-off-by: Marin Treselj <marin@pixelipo.com>
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/js.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/js.js b/core/js/js.js index 2aa7bf1bc55..c02ef5c7920 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -1203,7 +1203,7 @@ OC.Notification={ /** * Updates (replaces) a sanitized notification. - * + * * @param {string} text Message to display * @return {jQuery} JQuery element for notificaiton row */ @@ -1512,7 +1512,7 @@ function initCore() { var resizeMenu = function() { var appList = $('#appmenu li'); - var headerWidth = $('#header-left').width() - $('#nextcloud').width() + var headerWidth = $('.header-left').width() - $('#nextcloud').width() var usePercentualAppMenuLimit = 0.33; var minAppsDesktop = 8; var availableWidth = headerWidth - $(appList).width(); |