diff options
-rw-r--r-- | public/js/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/index.js b/public/js/index.js index 25b94bd6..5251541c 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -508,7 +508,7 @@ function setSpellcheck() { var cookieSpellcheck = Cookies.get('spellcheck'); if (cookieSpellcheck) { var mode = null; - if (cookieSpellcheck === 'true') { + if (cookieSpellcheck === 'true' || cookieSpellcheck === true) { mode = 'spell-checker'; } else { mode = 'gfm'; |