Skip to content

Commit 691e0cf

Browse files
authored
fix(Spell checker): Fix disable spell checker (@vantezzen)
2 parents 0a0a076 + 66e43c5 commit 691e0cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webview/spellchecker.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export function isEnabled() {
9696

9797
export function disable() {
9898
if (isEnabled()) {
99-
webFrame.setSpellCheckProvider(currentDict, true, { spellCheck: () => true });
99+
webFrame.setSpellCheckProvider(currentDict, { spellCheck: () => true });
100100
_isEnabled = false;
101101
currentDict = null;
102102
}

0 commit comments

Comments
 (0)