aboutsummaryrefslogtreecommitdiffstats
path: root/src/webview
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview')
-rw-r--r--src/webview/recipe.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webview/recipe.js b/src/webview/recipe.js
index 92c1ee2f0..70241419a 100644
--- a/src/webview/recipe.js
+++ b/src/webview/recipe.js
@@ -436,6 +436,9 @@ class RecipeController {
436 const locale = await ipcRenderer.invoke('detect-language', { 436 const locale = await ipcRenderer.invoke('detect-language', {
437 sample: value, 437 sample: value,
438 }); 438 });
439 if (!locale) {
440 return;
441 }
439 442
440 const spellcheckerLocale = 443 const spellcheckerLocale =
441 getSpellcheckerLocaleByFuzzyIdentifier(locale); 444 getSpellcheckerLocaleByFuzzyIdentifier(locale);