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

Unified Diff: chrome/browser/resources/ntp4/dot_list.js

Issue 2586113002: MD Settings: ignore modified key events in the profile avatar grid (Closed)
Patch Set: closure 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: chrome/browser/resources/ntp4/dot_list.js
diff --git a/chrome/browser/resources/ntp4/dot_list.js b/chrome/browser/resources/ntp4/dot_list.js
index 017a786cbb3cc9d80477bb10fe5a3fb249ae39c4..779dcdaf5d976f605010c7a060a559b3665fd307 100644
--- a/chrome/browser/resources/ntp4/dot_list.js
+++ b/chrome/browser/resources/ntp4/dot_list.js
@@ -41,10 +41,10 @@ cr.define('ntp', function() {
/**
* Handler for key events on the dot list. These keys will change the focus
* element.
- * @param {Event} e The KeyboardEvent.
+ * @param {!Event} e The KeyboardEvent.
*/
onKeyDown_: function(e) {
- if (e.metaKey || e.shiftKey || e.altKey || e.ctrlKey)
+ if (hasKeyModifiers(e))
return;
var direction = 0;
« no previous file with comments | « chrome/browser/resources/md_history/app.crisper.js ('k') | chrome/browser/resources/options/cookies_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698