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

Unified Diff: ui/webui/resources/js/cr/ui/focus_row.js

Issue 2586113002: MD Settings: ignore modified key events in the profile avatar grid (Closed)
Patch Set: closure, take 2 Created 4 years 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
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..248b88edb1de98e4143091257b15b605b48b6f17 100644
--- a/ui/webui/resources/js/cr/ui/focus_row.js
+++ b/ui/webui/resources/js/cr/ui/focus_row.js
@@ -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;

Powered by Google App Engine
This is Rietveld 408576698