aboutsummaryrefslogtreecommitdiff
path: root/webAO
diff options
context:
space:
mode:
Diffstat (limited to 'webAO')
-rw-r--r--webAO/client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client.js b/webAO/client.js
index e6fa3c4..8bcd4fe 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -1253,7 +1253,7 @@ class Viewport {
this.chatmsg.startpreanim = true;
// If preanim existed then determine the length
- if (this.chatmsg.preanim !== "-") {
+ if (this.chatmsg.preanim !== "-" && this.chatmsg.preanim !== "" && this.chatmsg.preanim !== undefined) {
// Hide message box
nameBox.style.display = "none";
chatBox.style.display = "none";