Commit 13faf4e2 authored by kochi@google.com's avatar kochi@google.com

Fix typo in options2 browser_options.js

This will properly disable "Disconnect my account..." button on
ChromeOS.

cr.isChromeOs (note the last small "s", not capital "S")
returned "undefined" and thus "Disconnect..." button's
hidden attribute was always false (i.e. visible on ChromeOS).

BUG=116342
TEST=manually open chrome://settings with signed-in account and see
"Disconnect your google account" button won't appear.

Review URL: https://chromiumcodereview.appspot.com/9702051

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126842 0039d316-1c4b-4281-b951-d872f2087c98
parent 193f4fcf
...@@ -554,7 +554,7 @@ cr.define('options', function() { ...@@ -554,7 +554,7 @@ cr.define('options', function() {
startStopButton.disabled = syncData.managed || startStopButton.disabled = syncData.managed ||
syncData.setupInProgress; syncData.setupInProgress;
startStopButton.hidden = startStopButton.hidden =
syncData.setupCompleted && cr.isChromeOs; syncData.setupCompleted && cr.isChromeOS;
startStopButton.textContent = startStopButton.textContent =
syncData.setupCompleted ? syncData.setupCompleted ?
localStrings.getString('syncButtonTextStop') : localStrings.getString('syncButtonTextStop') :
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment