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

Unified Diff: chrome/browser/resources/inspect/inspect.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/inspect/inspect.js
diff --git a/chrome/browser/resources/inspect/inspect.js b/chrome/browser/resources/inspect/inspect.js
index e5643f1c0cec3fb169dfa7b10b400460321ab1ac..5d11f63e748fb0a04230689baa0c9b63eaffd8a9 100644
--- a/chrome/browser/resources/inspect/inspect.js
+++ b/chrome/browser/resources/inspect/inspect.js
@@ -824,7 +824,7 @@ function appendRow(list, lineFactory, key, value) {
var line = lineFactory(key, value);
line.lastElementChild.addEventListener('keydown', function(e) {
if (e.key == 'Tab' &&
- !e.ctrlKey && !e.altKey && !e.shiftKey && !e.metaKey &&
+ !hasKeyModifiers(e) &&
line.classList.contains('fresh') &&
!line.classList.contains('empty')) {
// Tabbing forward on the fresh line, try create a new empty one.
« no previous file with comments | « chrome/browser/resources/chromeos/keyboard/keyboard_utils.js ('k') | chrome/browser/resources/md_downloads/crisper.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698