diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-08-24 23:21:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-24 23:21:55 +0300 |
commit | 8761856a7156474257f0f17949f1379804b2c627 (patch) | |
tree | a93dd9c84e6c5c0592c54aafc4dd28ff5aa7e95a /core/js/js.js | |
parent | ac932309a232afc2e08fe167aa1611e98951e86c (diff) | |
parent | 13230f180a897cd56489102c6e91d39fb8e1e2f3 (diff) |
Merge pull request #10838 from nextcloud/header-fixes-and-public-note
Header fixes and public note
Diffstat (limited to 'core/js/js.js')
-rw-r--r-- | core/js/js.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js index a4de1c3dbf6..8e7796143d5 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -1571,7 +1571,7 @@ function initCore() { var resizeMenu = function() { var appList = $('#appmenu li'); - var headerWidth = $('.header-left').width() - $('#nextcloud').width(); + var headerWidth = $('.header-left').outerWidth() - $('#nextcloud').outerWidth(); var usePercentualAppMenuLimit = 0.33; var minAppsDesktop = 8; var availableWidth = headerWidth - $(appList).width(); |