| Index: ui/webui/resources/js/action_link.js
|
| diff --git a/ui/webui/resources/js/action_link.js b/ui/webui/resources/js/action_link.js
|
| index bd607f524b185ce8b25156c08804df38cca96d3c..70b89e728a6d9de6b802cdc0200d793e870e0f36 100644
|
| --- a/ui/webui/resources/js/action_link.js
|
| +++ b/ui/webui/resources/js/action_link.js
|
| @@ -44,7 +44,7 @@ var ActionLink = document.registerElement('action-link', {
|
| this.setAttribute('role', 'link');
|
|
|
| this.addEventListener('keydown', function(e) {
|
| - if (!this.disabled && e.keyIdentifier == 'Enter') {
|
| + if (!this.disabled && e.keyIdentifier == '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.
|
|
|