diff options
author | Joas Schilling <coding@schilljs.com> | 2017-05-30 11:51:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-30 11:51:10 +0200 |
commit | bd19eef2aeabc584e81a7c03bd0129786c4d340b (patch) | |
tree | 249dcb16a05b38507488ff6504c6b55ed0a5c6e7 | |
parent | b9b7f8bede0562b4e0eb067c62ecbe93a298793f (diff) | |
parent | 65d52a1ddff74b58155b27e342caf30a554d62f5 (diff) | |
download | nextcloud-server-bd19eef2aeabc584e81a7c03bd0129786c4d340b.tar.gz nextcloud-server-bd19eef2aeabc584e81a7c03bd0129786c4d340b.zip |
Merge pull request #5135 from patschi/remove-appmenu-limit
Remove appmenu limit
-rw-r--r-- | core/js/js.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/core/js/js.js b/core/js/js.js index 0a14acd4b6c..80c62e70116 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -1511,14 +1511,9 @@ function initCore() { } var resizeMenu = function() { - var maxApps = 8; var appList = $('#appmenu li'); var availableWidth = $('#header-left').width() - $('#nextcloud').width() - 44; var appCount = Math.floor((availableWidth)/44); - // show a maximum of 8 apps - if(appCount >= maxApps) { - appCount = maxApps; - } // show at least 2 apps in the popover if(appList.length-1-appCount >= 1) { appCount--; |