mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-27 19:19:21 +03:00
Small fixes (fixed #61)
This commit is contained in:
parent
ae2e2ea61e
commit
3a5d5038b9
9 changed files with 147 additions and 173 deletions
|
|
@ -579,7 +579,7 @@ PopupsComposeViewModel.prototype.convertSignature = function (sSignature, sFrom)
|
|||
sSignature = sSignature.replace(/{{IF:FROM}}[\s\S]+{{\/IF:FROM}}/gm, '');
|
||||
}
|
||||
|
||||
sSignature = Utils.trim(sSignature.replace(/{{FROM}}/, '').replace(/{{IF:FROM}}/, '').replace(/{{\/IF:FROM}}/, ''));
|
||||
sSignature = "\r\n" + Utils.trim(sSignature.replace(/{{FROM}}/, '').replace(/{{IF:FROM}}/, '').replace(/{{\/IF:FROM}}/, ''));
|
||||
}
|
||||
|
||||
return sSignature;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue