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..d75bf2407ff4e1c67744014ae31107212e70b6b4 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)) { |
+ this.menu.handleKeyDown(e); |
Bernhard Bauer
2015/04/20 17:06:45
Indent two spaces less (should be indented two mor
Deepak
2015/04/21 04:06:37
Done.
|
e.preventDefault(); |
e.stopPropagation(); |
- } |
} |
// Show the focus ring on keypress. |