diff options
| author | sD <stoned@derpymail.org> | 2020-01-06 16:54:43 +0100 |
|---|---|---|
| committer | sD <stoned@derpymail.org> | 2020-01-06 16:54:43 +0100 |
| commit | 4467a30c219bc4fae610261fbbbf7e9e0138d5a0 (patch) | |
| tree | aeb803bb6196089a6145127d47ae5279359b5b80 /webAO/client.js | |
| parent | a47cf9152b45380f81e7ab15586b05fde3636d82 (diff) | |
handle all kinds of empty preanims
Diffstat (limited to 'webAO/client.js')
| -rw-r--r-- | webAO/client.js | 2 |
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"; |
