| Index: chrome/browser/resources/print_preview/search/destination_list_item.js
|
| diff --git a/chrome/browser/resources/print_preview/search/destination_list_item.js b/chrome/browser/resources/print_preview/search/destination_list_item.js
|
| index 48b5b8174f78e0a73664a44c4eb5a44e321edc1c..8b529d45acc919b3f3d5aec44328569b9268b49c 100644
|
| --- a/chrome/browser/resources/print_preview/search/destination_list_item.js
|
| +++ b/chrome/browser/resources/print_preview/search/destination_list_item.js
|
| @@ -227,7 +227,7 @@ cr.define('print_preview', function() {
|
| * @private
|
| */
|
| onKeyDown_: function(e) {
|
| - if (!e.shiftKey && !e.ctrlKey && !e.altKey && !e.metaKey) {
|
| + if (!hasKeyModifiers(e)) {
|
| if (e.keyCode == 13) {
|
| var activeElementTag = document.activeElement ?
|
| document.activeElement.tagName.toUpperCase() : '';
|
| @@ -281,7 +281,7 @@ cr.define('print_preview', function() {
|
| * @private
|
| */
|
| onExtensionIconKeyDown_: function(e) {
|
| - if (e.shiftKey || e.ctrlKey || e.altKey || e.metaKey)
|
| + if (hasKeyModifiers(e))
|
| return;
|
| if (e.keyCode != 13 /* Enter */)
|
| return;
|
|
|