diff --git a/src/spell-check-handler.js b/src/spell-check-handler.js index f860dd8..5748e24 100644 --- a/src/spell-check-handler.js +++ b/src/spell-check-handler.js @@ -166,7 +166,7 @@ module.exports = class SpellCheckHandler { // while calling it with an empty language will set it to `true` if (isMac && !!value) { this.switchLanguage(); - } else if (isMac && !!value && this.currentSpellcheckerLanguage) { + } else if (isMac && !value && this.currentSpellcheckerLanguage) { this.switchLanguage(this.currentSpellcheckerLanguage); } }