| Index: ui/webui/resources/js/cr/ui/overlay.js
|
| diff --git a/ui/webui/resources/js/cr/ui/overlay.js b/ui/webui/resources/js/cr/ui/overlay.js
|
| index 67be7598ff759bb64642bc56a2c64dec0182c6c0..b829a99599c4ea38a73312dca2d750edf2f4221c 100644
|
| --- a/ui/webui/resources/js/cr/ui/overlay.js
|
| +++ b/ui/webui/resources/js/cr/ui/overlay.js
|
| @@ -49,7 +49,7 @@ cr.define('cr.ui.overlay', function() {
|
| return;
|
|
|
| // Close the overlay on escape.
|
| - if (e.keyCode == 27) // Escape
|
| + if (e.keyIdentifier == 'U+001B')
|
| cr.dispatchSimpleEvent(overlay, 'cancelOverlay');
|
|
|
| // Execute the overlay's default button on enter, unless focus is on an
|
|
|