diff --git a/program/js/app.js b/program/js/app.js index 5385c4936..7df194253 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -2847,7 +2847,7 @@ function rcube_webmail() { var ed; if (window.tinyMCE && (ed = tinyMCE.get(this.env.composebody))) { - if (ed.plugins.spellchecker.active) + if (ed.plugins.spellchecker && ed.plugins.spellchecker.active) ed.execCommand('mceSpellCheck'); } else if ((ed = this.env.spellcheck) && !this.spellcheck_ready) {