mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-31 03:52:01 +08:00
Resolve #974
This commit is contained in:
parent
3b7deb1328
commit
6e6ed0eab3
1 changed files with 4 additions and 1 deletions
|
@ -1404,7 +1404,10 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
encrypt = this.pgpEncrypt() && this.canPgpEncrypt(),
|
||||
isHtml = this.oEditor.isHtml();
|
||||
|
||||
let Text = this.oEditor.getData();
|
||||
let Text = this.oEditor.getData().trim();
|
||||
if (!Text.length) {
|
||||
throw 'Message body is empty';
|
||||
}
|
||||
if (isHtml) {
|
||||
let l;
|
||||
do {
|
||||
|
|
Loading…
Reference in a new issue