diff options
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/apps.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js index d2f26578a7c..215b3c2c92e 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -530,21 +530,17 @@ OC.Settings.Apps = OC.Settings.Apps || { } previousEntry = entry; // do not show apps from #appmenu in #navigation - if(i < 7) { + if(i <= 7) { $('#navigation li').eq(i).addClass('in-header'); } else { $('#navigation li').eq(i).removeClass('in-header'); } } - - - if (navEntries.length > 7) { + if (navEntries.length > 8) { $('#more-apps').show(); - $('.apps-management').hide(); } else { $('#more-apps').hide(); - $('.apps-management').show(); } } }); |