| Index: chrome/browser/resources/options/language_options.js
|
| diff --git a/chrome/browser/resources/options/language_options.js b/chrome/browser/resources/options/language_options.js
|
| index 7503212b3a5ad28970a40410c05252e001deb86b..e181f8a30823ea7c14bd69dd60e48b48ee6ff801 100644
|
| --- a/chrome/browser/resources/options/language_options.js
|
| +++ b/chrome/browser/resources/options/language_options.js
|
| @@ -93,8 +93,11 @@ cr.define('options', function() {
|
| $('auto-spell-correction-option').hidden = false;
|
|
|
| // Handle spell check enable/disable.
|
| - Preferences.getInstance().addEventListener(this.enableSpellCheckPref,
|
| - this.updateEnableSpellCheck_.bind(this));
|
| + if (!cr.isMac) {
|
| + Preferences.getInstance().addEventListener(
|
| + this.enableSpellCheckPref,
|
| + this.updateEnableSpellCheck_.bind(this));
|
| + }
|
| }
|
|
|
| // Listen to user clicks on the "Change touch keyboard settings..."
|
| @@ -219,7 +222,8 @@ cr.define('options', function() {
|
| this.updateSelectedLanguageName_(languageCode);
|
| if (cr.isWindows || cr.isChromeOS)
|
| this.updateUiLanguageButton_(languageCode);
|
| - this.updateSpellCheckLanguageButton_(languageCode);
|
| + if (!cr.isMac)
|
| + this.updateSpellCheckLanguageButton_(languageCode);
|
| if (cr.isChromeOS)
|
| this.updateInputMethodList_(languageCode);
|
| this.updateLanguageListInAddLanguageOverlay_();
|
|
|