summaryrefslogtreecommitdiffstats
path: root/core/js/js.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/js.js')
-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--;