diff --git a/mail/js/app.js b/mail/js/app.js index 0862d07293..70a4666b61 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -4701,8 +4701,7 @@ app.classes.mail = AppJS.extend( if (textArea.id != "mail_htmltext") { - textArea.getParent().set_height(bodySize); - textArea.set_height(bodySize); + textArea.getParent().style.height = `${bodySize}px`; } else if (typeof textArea != 'undefined' && textArea.id == 'mail_htmltext') { diff --git a/mail/templates/default/compose.xet b/mail/templates/default/compose.xet index 7399f60021..576a70eb02 100644 --- a/mail/templates/default/compose.xet +++ b/mail/templates/default/compose.xet @@ -142,7 +142,7 @@ - +