aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2019-10-21 20:05:36 +0200
committerLibravatar GitHub <noreply@github.com>2019-10-21 20:05:36 +0200
commit691e0cf7d169974260d9c588579c7bee5fe11083 (patch)
tree0b2a377d5ac28d5af89b6ab640fd0b042cb600d9 /src
parentprovide a float instead of mixed string and int (diff)
parentFix disable spell checker method for Electron 6 (diff)
downloadferdium-app-691e0cf7d169974260d9c588579c7bee5fe11083.tar.gz
ferdium-app-691e0cf7d169974260d9c588579c7bee5fe11083.tar.zst
ferdium-app-691e0cf7d169974260d9c588579c7bee5fe11083.zip
fix(Spell checker): Fix disable spell checker (@vantezzen)
Diffstat (limited to 'src')
-rw-r--r--src/webview/spellchecker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webview/spellchecker.js b/src/webview/spellchecker.js
index 06cbd283a..d8f71f61f 100644
--- a/src/webview/spellchecker.js
+++ b/src/webview/spellchecker.js
@@ -96,7 +96,7 @@ export function isEnabled() {
96 96
97export function disable() { 97export 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 }