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:51 +0300 |
commit | dd59b594782a255678954f04a27cce7208a65065 (patch) | |
tree | c3a842fc029697c0294a32bd68fd1934e824d7ae /skins | |
parent | e0ae7765bc40099989890d9a3b0a4c21317866dd (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); |