| 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 4cfcc956f7b50540c49ac15e850cdf17d9bcec27..a9e1ffd6620991b44b5a6aa4a790bd93da9c62eb 100644
|
| --- a/ui/webui/resources/js/action_link.js
|
| +++ b/ui/webui/resources/js/action_link.js
|
| @@ -54,7 +54,9 @@ var ActionLink = document.registerElement('action-link', {
|
| }
|
| });
|
|
|
| - function preventDefault(e) { e.preventDefault(); }
|
| + function preventDefault(e) {
|
| + e.preventDefault();
|
| + }
|
|
|
| function removePreventDefault() {
|
| document.removeEventListener('selectstart', preventDefault);
|
| @@ -73,8 +75,9 @@ 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} */
|
| @@ -85,7 +88,9 @@ 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) {
|
|
|