diff options
author | Aleksander Machniak <alec@alec.pl> | 2019-11-27 11:21:23 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2019-11-27 11:21:23 +0300 |
commit | 57476c09f9459cfb7c791a6ee6d5282f15dad67e (patch) | |
tree | c0a5e05acf63078839a8cd1c9b49cd59beb1aae1 /skins | |
parent | 604e81489842473f2649471769051f42a3fb5309 (diff) |
Fix bug where cancelling switching from HTML to plain text didn't set the flag properly (#7077)
Diffstat (limited to 'skins')
-rw-r--r-- | skins/larry/ui.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/skins/larry/ui.js b/skins/larry/ui.js index 182a13673..2b68ebe97 100644 --- a/skins/larry/ui.js +++ b/skins/larry/ui.js @@ -183,9 +183,7 @@ function rcube_mail_ui() else if (rcmail.env.action == 'compose') { rcmail.addEventListener('fileappended', function(e) { if (e.attachment.complete) attachmentmenu_append(e.item); }) .addEventListener('aftertoggle-editor', function(e) { - window.setTimeout(function() { layout_composeview() }, 200); - if (e && e.mode) - $("select[name='editorSelector']").val(e.mode); + window.setTimeout(function() { layout_composeview(); }, 200); }) .addEventListener('compose-encrypted', function(e) { $("select[name='editorSelector']").prop('disabled', e.active); |