diff --git a/static/main.html b/static/main.html index 967b2e2..f31fcb2 100644 --- a/static/main.html +++ b/static/main.html @@ -168,6 +168,7 @@ // Instead, we can temporarily override the animation property to 'none' then the // animation will restart when we re-inheirit from the stylesheet. let flashers = $('.flash').each((_, e) => { + if (e.style.animationPlayState === 'running') return; e.style.animation = ''; e.style.animationPlayState = 'running';