Chromium Code Reviews| Index: chrome/browser/resources/options/cookies_list.js |
| diff --git a/chrome/browser/resources/options/cookies_list.js b/chrome/browser/resources/options/cookies_list.js |
| index 767b5a9530b2d1ae34614d47fd0d80864eb918ad..550fb637cad2088fd1eb391909af550c47d6b51e 100644 |
| --- a/chrome/browser/resources/options/cookies_list.js |
| +++ b/chrome/browser/resources/options/cookies_list.js |
| @@ -734,7 +734,8 @@ cr.define('options', function() { |
| */ |
| handleKeyLeftRight_: function(e) { |
|
Dan Beam
2015/03/16 21:16:20
nit: do this instead
if (e.altKey || e.ctrlKey ||
|
| var id = e.keyIdentifier; |
| - if ((id == 'Left' || id == 'Right') && this.expandedItem) { |
| + if (!e.altKey && !e.ctrlKey && !e.metaKey && !e.shiftKey && |
| + (id == 'Left' || id == 'Right') && this.expandedItem) { |
| var cs = this.ownerDocument.defaultView.getComputedStyle(this); |
| var rtl = cs.direction == 'rtl'; |
| if ((!rtl && id == 'Left') || (rtl && id == 'Right')) |