summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-03-26 21:23:18 +0200
committerJoas Schilling <coding@schilljs.com>2017-03-26 21:23:18 +0200
commit0229c16e5fe9a20bc150b2162d22df6fe236cb9e (patch)
tree90dcd7a425e31b304ebeb1f75d24d3c89e03dd68 /settings
parente0b040d6235e7f8f8e5869e56a9bda1bf346cafd (diff)
downloadnextcloud-server-0229c16e5fe9a20bc150b2162d22df6fe236cb9e.tar.gz
nextcloud-server-0229c16e5fe9a20bc150b2162d22df6fe236cb9e.zip
Don't use the dropdown for one item only
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'settings')
-rw-r--r--settings/js/apps.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index 253cc7b1eaf..215b3c2c92e 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -530,7 +530,7 @@ 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');