mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-27 23:44:48 +08:00
Bugfix: container.remove() is not a function
This commit is contained in:
parent
3db8befbba
commit
a177081224
1 changed files with 2 additions and 1 deletions
3
vendors/squire/build/squire-raw.js
vendored
3
vendors/squire/build/squire-raw.js
vendored
|
@ -494,7 +494,8 @@ const
|
|||
parent.childNodes.length === 1 ) {
|
||||
container = parent;
|
||||
}
|
||||
container.remove();
|
||||
// container.remove(); // not a function?
|
||||
container.parentNode && container.parentNode.removeChild( container );
|
||||
|
||||
offset = block.childNodes.length;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue