| Index: ui/webui/resources/js/cr/link_controller.js
|
| diff --git a/ui/webui/resources/js/cr/link_controller.js b/ui/webui/resources/js/cr/link_controller.js
|
| index e643eefb1c378c078868c196631e2502aee0d896..0e93f75909bacad8c24bdcfbb6c3e27922301a62 100644
|
| --- a/ui/webui/resources/js/cr/link_controller.js
|
| +++ b/ui/webui/resources/js/cr/link_controller.js
|
| @@ -81,8 +81,7 @@ cr.define('cr', function() {
|
| */
|
| openUrlFromEvent: function(url, e) {
|
| // We only support keydown Enter and non right click events.
|
| - if (e.type == 'keydown' && e.keyIdentifier == 'Enter' ||
|
| - e.button != 2) {
|
| + if (e.type == 'keydown' && e.key == 'Enter' || e.button != 2) {
|
| var kind;
|
| var ctrl = cr.isMac && e.metaKey || !cr.isMac && e.ctrlKey;
|
|
|
|
|