Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3073)

Unified Diff: ui/file_manager/file_manager/foreground/js/ui/gear_menu.js

Issue 1053123003: [menu.js] Menu.menuItemSelector has to be set before decoration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/ntp4/other_sessions.js ('k') | ui/file_manager/file_manager/main.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/js/ui/gear_menu.js
diff --git a/ui/file_manager/file_manager/foreground/js/ui/gear_menu.js b/ui/file_manager/file_manager/foreground/js/ui/gear_menu.js
index 85fd8117280e669106445656d27a97e8482877a5..5ca7334cb91caf41363a17c06b175210ce73acb3 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/gear_menu.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/gear_menu.js
@@ -70,7 +70,6 @@ function GearMenu(element) {
this.spaceInfoPromise_ = null;
// Initialize attributes.
- element.menuItemSelector = 'cr-menu-item, hr';
this.syncButton.checkable = true;
this.hostedButton.checkable = true;
}
« no previous file with comments | « chrome/browser/resources/ntp4/other_sessions.js ('k') | ui/file_manager/file_manager/main.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698