diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-02-28 11:04:27 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-02-28 11:04:27 +0100 |
commit | d78026c3b42ef1b8888235870b73bbcbba46c8e7 (patch) | |
tree | acc42aeb5f33e1db557bd086518a39b03ecf792e | |
parent | 77927442a65040389333a0d12b15b8d9eba4d0ae (diff) | |
download | nextcloud-server-d78026c3b42ef1b8888235870b73bbcbba46c8e7.tar.gz nextcloud-server-d78026c3b42ef1b8888235870b73bbcbba46c8e7.zip |
Fixed breadcrumb menu flashing
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 20b15e3cb93..df68865f866 100644 --- a/apps/files/js/breadcrumb.js +++ b/apps/files/js/breadcrumb.js @@ -115,7 +115,7 @@ */ render: function() { // Menu is destroyed on every change, we need to init it - OC.unregisterMenu($('.crumbmenu'), $('.crumbmenu > .popovermenu')); + OC.unregisterMenu($('.crumbmenu > .icon-more'), $('.crumbmenu > .popovermenu')); var parts = this._makeCrumbs(this.dir || '/'); var $crumb; @@ -195,7 +195,7 @@ } // Menu is destroyed on every change, we need to init it - OC.registerMenu($('.crumbmenu'), $('.crumbmenu > .popovermenu')); + OC.registerMenu($('.crumbmenu > .icon-more'), $('.crumbmenu > .popovermenu')); this._resize(); }, @@ -218,7 +218,7 @@ // menu part crumbs.push({ class: 'crumbmenu hidden', - linkclass: 'icon-more' + linkclass: 'icon-more menutoggle' }); // root part crumbs.push({ |