Index: ui/webui/resources/js/cr/ui/menu_button.js |
diff --git a/ui/webui/resources/js/cr/ui/menu_button.js b/ui/webui/resources/js/cr/ui/menu_button.js |
index 8e27b8af40ba8b55c84600664f72bf3b2e438930..e240a3221511e4e1889b3ff2abf1225ca3ef9fae 100644 |
--- a/ui/webui/resources/js/cr/ui/menu_button.js |
+++ b/ui/webui/resources/js/cr/ui/menu_button.js |
@@ -123,10 +123,9 @@ cr.define('cr.ui', function() { |
this.handleKeyDown(e); |
// If the menu is visible we let it handle all the keyboard events. |
if (this.isMenuShown() && e.currentTarget == this.ownerDocument) { |
- if (this.menu.handleKeyDown(e)) { |
- e.preventDefault(); |
- e.stopPropagation(); |
- } |
+ this.menu.handleKeyDown(e); |
+ e.preventDefault(); |
+ e.stopPropagation(); |
} |
// Show the focus ring on keypress. |