Skip to content

Commit 691e0cf

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/webview/spellchecker.js

Lines changed: 1 addition & 1 deletion
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)