summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files/js/breadcrumb.js6
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({