Index: ui/webui/resources/js/cr/ui/overlay.js |
diff --git a/ui/webui/resources/js/cr/ui/overlay.js b/ui/webui/resources/js/cr/ui/overlay.js |
index 2ea09c348a546b27e5b45fd9df300edb683d78a9..2e068c4950da2bf32327427ae7bb7b69c5f076bf 100644 |
--- a/ui/webui/resources/js/cr/ui/overlay.js |
+++ b/ui/webui/resources/js/cr/ui/overlay.js |
@@ -26,7 +26,9 @@ cr.define('cr.ui.overlay', function() { |
* @return {HTMLElement} The default button. |
*/ |
function getDefaultButton(overlay) { |
- function isHidden(node) { return node.hidden; } |
+ function isHidden(node) { |
+ return node.hidden; |
+ } |
var defaultButtons = /** @type !NodeList<!HTMLElement> */ ( |
overlay.querySelectorAll('.page .button-strip > .default-button')); |
for (var i = 0; i < defaultButtons.length; i++) { |
@@ -111,8 +113,9 @@ cr.define('cr.ui.overlay', function() { |
else |
this.removeAttribute('hidden'); |
}); |
- overlay.__defineGetter__( |
- 'hidden', function() { return this.hasAttribute('hidden'); }); |
+ overlay.__defineGetter__('hidden', function() { |
+ return this.hasAttribute('hidden'); |
+ }); |
// Shake when the user clicks away. |
overlay.addEventListener('click', function(e) { |