From 12f1932d023a680889c548867f6b52ed34685c4c Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Fri, 20 Jul 2018 14:01:36 -0700 Subject: [PATCH] Workaround for linux w/tmp mounted as noexec; spellcheck fails (#2548) --- js/background.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/background.js b/js/background.js index 4cda02f5050..ff1ebc5ed25 100644 --- a/js/background.js +++ b/js/background.js @@ -192,6 +192,10 @@ }; const startSpellCheck = () => { + if (!window.enableSpellCheck || !window.disableSpellCheck) { + return; + } + if (window.Events.getSpellCheck()) { window.enableSpellCheck(); } else {