| Index: chrome/browser/resources/options/controlled_setting.js
|
| diff --git a/chrome/browser/resources/options/controlled_setting.js b/chrome/browser/resources/options/controlled_setting.js
|
| index 7b383215ac49147f1fef4c4c76a3829bf6f12717..f7a7a5f91ae4d28f32399951c8985bf826025f56 100644
|
| --- a/chrome/browser/resources/options/controlled_setting.js
|
| +++ b/chrome/browser/resources/options/controlled_setting.js
|
| @@ -77,7 +77,8 @@ cr.define('options', function() {
|
| } else if (event.value.recommendedValue != undefined) {
|
| this.controlledBy =
|
| !this.value || String(event.value.recommendedValue) == this.value ?
|
| - 'hasRecommendation' : null;
|
| + 'hasRecommendation' :
|
| + null;
|
| } else {
|
| this.controlledBy = null;
|
| }
|
| @@ -185,8 +186,9 @@ cr.define('options', function() {
|
|
|
| var disableButton = extensionContainer.querySelector(
|
| '.controlled-setting-bubble-extension-disable-button');
|
| - disableButton.onclick =
|
| - function() { chrome.send('disableExtension', [extensionId]); };
|
| + disableButton.onclick = function() {
|
| + chrome.send('disableExtension', [extensionId]);
|
| + };
|
| content.appendChild(extensionContainer);
|
| }
|
| return content;
|
| @@ -205,8 +207,8 @@ cr.define('options', function() {
|
| * cancels the dialog instead, the changes are rolled back in the settings UI
|
| * and never committed.
|
| */
|
| - cr.defineProperty(ControlledSettingIndicator, 'dialogPref',
|
| - cr.PropertyKind.BOOL_ATTR);
|
| + cr.defineProperty(
|
| + ControlledSettingIndicator, 'dialogPref', cr.PropertyKind.BOOL_ATTR);
|
|
|
| /**
|
| * The value of the associated preference that the indicator represents. If
|
| @@ -216,11 +218,8 @@ cr.define('options', function() {
|
| * This allows multiple indicators to be created for a set of radio buttons,
|
| * ensuring that only one of them is visible at a time.
|
| */
|
| - cr.defineProperty(ControlledSettingIndicator, 'value',
|
| - cr.PropertyKind.ATTR);
|
| + cr.defineProperty(ControlledSettingIndicator, 'value', cr.PropertyKind.ATTR);
|
|
|
| // Export.
|
| - return {
|
| - ControlledSettingIndicator: ControlledSettingIndicator
|
| - };
|
| + return {ControlledSettingIndicator: ControlledSettingIndicator};
|
| });
|
|
|