diff options
author | 2019-10-17 21:48:38 +0200 | |
---|---|---|
committer | 2019-10-17 21:48:38 +0200 | |
commit | c44cb8dc2203262b4ad52210adf40e0d022671eb (patch) | |
tree | 8a3a15a161a048f06203b9ee66763df63ab3c3ba /src/webview/spellchecker.js | |
parent | Merge pull request #124 from getferdi/l10n_develop (diff) | |
download | ferdium-app-c44cb8dc2203262b4ad52210adf40e0d022671eb.tar.gz ferdium-app-c44cb8dc2203262b4ad52210adf40e0d022671eb.tar.zst ferdium-app-c44cb8dc2203262b4ad52210adf40e0d022671eb.zip |
Add toggle to disable universal dark mode
Diffstat (limited to 'src/webview/spellchecker.js')
-rw-r--r-- | src/webview/spellchecker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webview/spellchecker.js b/src/webview/spellchecker.js index 27380676d..1cb449110 100644 --- a/src/webview/spellchecker.js +++ b/src/webview/spellchecker.js | |||
@@ -96,7 +96,7 @@ export function isEnabled() { | |||
96 | 96 | ||
97 | export function disable() { | 97 | export function disable() { |
98 | if (isEnabled()) { | 98 | if (isEnabled()) { |
99 | webFrame.setSpellCheckProvider(currentDict, true, { spellCheck: () => true }); | 99 | webFrame.setSpellCheckProvider(currentDict, { spellCheck: () => true }); |
100 | _isEnabled = false; | 100 | _isEnabled = false; |
101 | currentDict = null; | 101 | currentDict = null; |
102 | } | 102 | } |