diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-03-01 09:39:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-01 09:39:29 +0100 |
commit | 6b4a2d01c320538506e890664983ee823b76fd57 (patch) | |
tree | 6b7ee4a772f5c859c8575b3f250db4f03f5bfdb8 /apps/files | |
parent | 560c0ef783c3ea271da335183822136e99a9edff (diff) | |
parent | d78026c3b42ef1b8888235870b73bbcbba46c8e7 (diff) | |
download | nextcloud-server-6b4a2d01c320538506e890664983ee823b76fd57.tar.gz nextcloud-server-6b4a2d01c320538506e890664983ee823b76fd57.zip |
Merge pull request #8574 from nextcloud/breadcrumb-flash-fix
Fixed breadcrumb menu flashing
Diffstat (limited to 'apps/files')
-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({ |