summaryrefslogtreecommitdiff
path: root/program/js/editor.js
diff options
context:
space:
mode:
Diffstat (limited to 'program/js/editor.js')
-rw-r--r--program/js/editor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/editor.js b/program/js/editor.js
index ceab021ef..a9aec621c 100644
--- a/program/js/editor.js
+++ b/program/js/editor.js
@@ -58,12 +58,12 @@ function rcmail_toggle_editor(toggler)
// do the appropriate conversion
if (selectedEditor == 'html')
{
+ rcmail.display_spellcheck_controls(false);
var composeElement = document.getElementById('compose-body');
var htmlText = "<pre>" + composeElement.value + "</pre>";
composeElement.value = htmlText;
tinyMCE.execCommand('mceAddControl', true, 'compose-body');
htmlFlag.value = "1";
- rcmail.display_spellcheck_controls(false);
}
else
{