| Index: chrome/browser/resources/sync_confirmation/sync_confirmation.js
|
| diff --git a/chrome/browser/resources/sync_confirmation/sync_confirmation.js b/chrome/browser/resources/sync_confirmation/sync_confirmation.js
|
| index 2e37139c2a94e97b84aabac698b7897c9281eecd..e22b4ddecc67c1dd4ebc7bdcea9dbb88703c9b5f 100644
|
| --- a/chrome/browser/resources/sync_confirmation/sync_confirmation.js
|
| +++ b/chrome/browser/resources/sync_confirmation/sync_confirmation.js
|
| @@ -42,7 +42,7 @@ cr.define('sync.confirmation', function() {
|
| // If the currently focused element isn't something that performs an action
|
| // on "enter" being pressed and the user hits "enter", perform the default
|
| // action of the dialog, which is "OK, Got It".
|
| - if (e.keyIdentifier == 'Enter' &&
|
| + if (e.key == 'Enter' &&
|
| !/^(A|PAPER-BUTTON)$/.test(document.activeElement.tagName)) {
|
| $('confirmButton').click();
|
| e.preventDefault();
|
|
|