Skip to content
Permalink
Browse files
fix(Spell checker): Fix disable spell checker (@vantezzen)
  • Loading branch information
adlk committed Oct 21, 2019
2 parents 0a0a076 + 66e43c5 commit 691e0cf7d169974260d9c588579c7bee5fe11083
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/webview/spellchecker.js
@@ -96,7 +96,7 @@ export function isEnabled() {

export function disable() {
if (isEnabled()) {
webFrame.setSpellCheckProvider(currentDict, true, { spellCheck: () => true });
webFrame.setSpellCheckProvider(currentDict, { spellCheck: () => true });
_isEnabled = false;
currentDict = null;
}

0 comments on commit 691e0cf

Please sign in to comment.