diff --git a/public/js/index.js b/public/js/index.js index 25b94bd6e..5251541c3 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';