diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-11-08 18:05:01 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-11-08 18:05:01 +0100 |
commit | f25cb7d1566722a0a61b7639140ee676e2548d4a (patch) | |
tree | ea59ec88b898dd7f41359a0e6c759ea8ef3066c5 | |
parent | 694a96d93816f93e487f0d5ce69e3e27e29702e8 (diff) | |
download | nextcloud-server-f25cb7d1566722a0a61b7639140ee676e2548d4a.tar.gz nextcloud-server-f25cb7d1566722a0a61b7639140ee676e2548d4a.zip |
Menu hidden by default
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r-- | apps/files/js/breadcrumb.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/js/breadcrumb.js b/apps/files/js/breadcrumb.js index da536f9de9f..d57c46a3eeb 100644 --- a/apps/files/js/breadcrumb.js +++ b/apps/files/js/breadcrumb.js @@ -221,7 +221,7 @@ } // menu part crumbs.push({ - class: 'crumbmenu', + class: 'crumbmenu hidden', linkclass: 'icon-more' }); // root part @@ -315,9 +315,9 @@ * Update the popovermenu */ _updateMenu: function() { - var menuItems = this.$el.children('.crumb.hidden'); + var menuItems = this.$el.find('.crumb.hidden'); // Hide the crumb menu if no elements - this.$el.find('.crumbmenu').toggleClass('hidden', menuItems.length===0) + this.$el.find('.crumbmenu').toggleClass('hidden', menuItems.length === 0) this.$menu.find('li').addClass('in-breadcrumb'); for (var i = 0; i < menuItems.length; i++) { |