Index: ui/webui/resources/js/cr/ui/focus_row.js |
diff --git a/ui/webui/resources/js/cr/ui/focus_row.js b/ui/webui/resources/js/cr/ui/focus_row.js |
index 432c8a6dbebb656446c25e5ca19f772085f4c60a..415c1ea9956f73fdf6a4feabf9e651fe48bde305 100644 |
--- a/ui/webui/resources/js/cr/ui/focus_row.js |
+++ b/ui/webui/resources/js/cr/ui/focus_row.js |
@@ -254,7 +254,7 @@ cr.define('cr.ui', function() { |
}, |
/** |
- * @param {Event} e The keydown event. |
+ * @param {!Event} e The keydown event. |
* @private |
*/ |
onKeydown_: function(e) { |
@@ -266,7 +266,7 @@ cr.define('cr.ui', function() { |
if (this.delegate && this.delegate.onKeydown(this, e)) |
return; |
- if (e.altKey || e.ctrlKey || e.metaKey || e.shiftKey) |
+ if (hasKeyModifiers(e)) |
return; |
var index = -1; |