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 a9e1ffd6620991b44b5a6aa4a790bd93da9c62eb..4cfcc956f7b50540c49ac15e850cdf17d9bcec27 100644 |
--- a/ui/webui/resources/js/action_link.js |
+++ b/ui/webui/resources/js/action_link.js |
@@ -54,9 +54,7 @@ var ActionLink = document.registerElement('action-link', { |
} |
}); |
- function preventDefault(e) { |
- e.preventDefault(); |
- } |
+ function preventDefault(e) { e.preventDefault(); } |
function removePreventDefault() { |
document.removeEventListener('selectstart', preventDefault); |
@@ -75,9 +73,8 @@ var ActionLink = document.registerElement('action-link', { |
this.classList.add('no-outline'); |
}); |
- this.addEventListener('blur', function() { |
- this.classList.remove('no-outline'); |
- }); |
+ this.addEventListener( |
+ 'blur', function() { this.classList.remove('no-outline'); }); |
}, |
/** @type {boolean} */ |
@@ -88,9 +85,7 @@ var ActionLink = document.registerElement('action-link', { |
HTMLAnchorElement.prototype.removeAttribute.call(this, 'disabled'); |
this.tabIndex = disabled ? -1 : 0; |
}, |
- get disabled() { |
- return this.hasAttribute('disabled'); |
- }, |
+ get disabled() { return this.hasAttribute('disabled'); }, |
/** @override */ |
setAttribute: function(attr, val) { |