Chromium Code Reviews| Index: ui/webui/resources/js/chromeos/ui_account_tweaks.js |
| diff --git a/ui/webui/resources/js/chromeos/ui_account_tweaks.js b/ui/webui/resources/js/chromeos/ui_account_tweaks.js |
| index 278af2eb77f305783122244999b7114c4684702b..d694ecb3a68a31c9c72779c019b4985a6b29d652 100644 |
| --- a/ui/webui/resources/js/chromeos/ui_account_tweaks.js |
| +++ b/ui/webui/resources/js/chromeos/ui_account_tweaks.js |
| @@ -25,7 +25,8 @@ cr.define('uiAccountTweaks', function() { |
| * Encapsulated handling of ChromeOS accounts options page. |
| * @constructor |
| */ |
| - function UIAccountTweaks() {} |
| + function UIAccountTweaks() { |
| + } |
|
dschuyler
2016/12/22 22:34:27
Maybe add "Empty" (SFS_Empty) to AllowShortFunctio
Dan Beam
2016/12/22 22:37:30
Done.
|
| /** |
| * @return {boolean} Whether the current user is owner or not. |
| @@ -166,7 +167,9 @@ cr.define('uiAccountTweaks', function() { |
| element.nodeName == 'BUTTON') { |
| element.disabled = true; |
| } else if (element.nodeName == 'A') { |
| - element.onclick = function() { return false; }; |
| + element.onclick = function() { |
| + return false; |
| + }; |
| } |
| }; |