From d44786e9b7249553099673827d7edb5b0e475d1b Mon Sep 17 00:00:00 2001 From: Patrik Kernstock Date: Fri, 26 May 2017 19:39:22 +0200 Subject: [PATCH] Closed #5121, remove appmenu limit Signed-off-by: Patrik Kernstock --- core/js/js.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/js/js.js b/core/js/js.js index ffbe438dc9a..ee4b03dd99d 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--; -- 2.39.5