aboutsummaryrefslogtreecommitdiff
path: root/webAO/client.js
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/client.js')
-rw-r--r--webAO/client.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/webAO/client.js b/webAO/client.js
index c03d32e..9ecae71 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -1135,6 +1135,11 @@ class Viewport {
this.sfxplayed = 0;
this.textTimer = 0;
this._animating = true;
+
+ // Reset CSS animation
+ document.getElementById("client_fg").style.animation = "";
+ document.getElementById("client_gamewindow").style.animation = "";
+
clearTimeout(this.updater);
// If preanim existed then determine the length
if (chatmsg.preanim !== "-") {