| Index: chrome/browser/resources/md_downloads/crisper.js
|
| diff --git a/chrome/browser/resources/md_downloads/crisper.js b/chrome/browser/resources/md_downloads/crisper.js
|
| index f40bce70ebd09ee3fb5b817aac3daa86cd6f0fde..53918e8684f11a8e8f0874cb2c20087e4fa4b19a 100644
|
| --- a/chrome/browser/resources/md_downloads/crisper.js
|
| +++ b/chrome/browser/resources/md_downloads/crisper.js
|
| @@ -4141,7 +4141,7 @@ var ActionLink = document.registerElement('action-link', {
|
| this.setAttribute('role', 'link');
|
|
|
| this.addEventListener('keydown', function(e) {
|
| - if (!this.disabled && e.keyIdentifier == 'Enter' && !this.href) {
|
| + if (!this.disabled && e.key == 'Enter' && !this.href) {
|
| // Schedule a click asynchronously because other 'keydown' handlers
|
| // may still run later (e.g. document.addEventListener('keydown')).
|
| // Specifically options dialogs break when this timeout isn't here.
|
| @@ -11495,4 +11495,4 @@ cr.define('downloads', function() {
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -window.addEventListener('load', downloads.Manager.onLoad);
|
| +window.addEventListener('load', downloads.Manager.onLoad);
|
|
|