mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-20 07:35:55 +08:00
Resolve #1641
This commit is contained in:
parent
021b332838
commit
614715f398
|
@ -312,6 +312,10 @@ export const
|
||||||
// https://github.com/the-djmaze/snappymail/issues/1125
|
// https://github.com/the-djmaze/snappymail/issues/1125
|
||||||
tmpl.content.querySelectorAll('form,button').forEach(oElement => replaceWithChildren(oElement));
|
tmpl.content.querySelectorAll('form,button').forEach(oElement => replaceWithChildren(oElement));
|
||||||
|
|
||||||
|
let body = tmpl.content.querySelector('.mail-body');
|
||||||
|
[...tmpl.content.querySelectorAll('.mail-body + .mail-body')]
|
||||||
|
.forEach(oElement => body.append(...oElement.childNodes));
|
||||||
|
|
||||||
[...tmpl.content.querySelectorAll('*')].forEach(oElement => {
|
[...tmpl.content.querySelectorAll('*')].forEach(oElement => {
|
||||||
const name = oElement.tagName,
|
const name = oElement.tagName,
|
||||||
oStyle = oElement.style;
|
oStyle = oElement.style;
|
||||||
|
|
Loading…
Reference in a new issue