diff --git a/frontend/components/CellInput.js b/frontend/components/CellInput.js index aa9dea5934..35773c436d 100644 --- a/frontend/components/CellInput.js +++ b/frontend/components/CellInput.js @@ -65,7 +65,7 @@ import { is_mac_keyboard } from "../common/KeyboardShortcuts.js" export const ENABLE_CM_MIXED_PARSER = window.localStorage.getItem("ENABLE_CM_MIXED_PARSER") === "true" export const ENABLE_CM_SPELLCHECK = window.localStorage.getItem("ENABLE_CM_SPELLCHECK") === "true" export const ENABLE_CM_AUTOCOMPLETE_ON_TYPE = - window.localStorage.getItem("ENABLE_CM_AUTOCOMPLETE_ON_TYPE") ?? (/Mac/.test(navigator.platform) ? "true" : "false") === "true" + (window.localStorage.getItem("ENABLE_CM_AUTOCOMPLETE_ON_TYPE") ?? (/Mac/.test(navigator.platform) ? "true" : "false")) === "true" if (ENABLE_CM_MIXED_PARSER) { console.log(`YOU ENABLED THE CODEMIRROR MIXED LANGUAGE PARSER