From 4e79c8527d490b33978bb0d45bbbf3eca0734f27 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 1e5c0b5b5..f485fd3ee 100644 --- a/js/background.js +++ b/js/background.js @@ -178,6 +178,10 @@ }; const startSpellCheck = () => { + if (!window.enableSpellCheck || !window.disableSpellCheck) { + return; + } + if (window.Events.getSpellCheck()) { window.enableSpellCheck(); } else {