summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrik Kernstock <info@pkern.at>2017-05-26 19:39:22 +0200
committerPatrik Kernstock <info@pkern.at>2017-05-26 19:39:22 +0200
commit65d52a1ddff74b58155b27e342caf30a554d62f5 (patch)
tree0eeda93f5c17f14d002b599731d89f6c79379985
parent6cc26efbc5329066cfd0a197023d2772311c85c0 (diff)
downloadnextcloud-server-65d52a1ddff74b58155b27e342caf30a554d62f5.tar.gz
nextcloud-server-65d52a1ddff74b58155b27e342caf30a554d62f5.zip
Closed #5121, remove appmenu limit
Signed-off-by: Patrik Kernstock <info@pkern.at>
-rw-r--r--core/js/js.js5
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--;