mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
transitionend not working in Edge 18
This commit is contained in:
parent
e858685769
commit
f90dbcc84b
2 changed files with 9 additions and 11 deletions
10
dev/boot.js
10
dev/boot.js
|
|
@ -88,13 +88,11 @@ const
|
|||
set: percent => setPercentWidth(percent),
|
||||
end: () => {
|
||||
if (container) {
|
||||
progress.addEventListener('transitionend', () => {
|
||||
if (container) {
|
||||
container.hidden = true;
|
||||
setTimeout(() => {container.remove();container=null;}, 200);
|
||||
}
|
||||
}, false);
|
||||
setPercentWidth(100);
|
||||
setTimeout(() => {
|
||||
container.remove();
|
||||
container = progress = null;
|
||||
}, 600);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue