diff options
| author | sD <stoned@derpymail.org> | 2020-05-27 22:34:52 +0200 |
|---|---|---|
| committer | sD <stoned@derpymail.org> | 2020-05-27 22:34:52 +0200 |
| commit | cdaea55c1b357c042e9f9e8f6223f1fd6db2b616 (patch) | |
| tree | 32914bde278291311ea7e8ef22d338aabb0a54b1 /webAO/client.js | |
| parent | 0e2f19fa004af7686dbd0a608d3383866a73c104 (diff) | |
change chatwaiting back to opacity so i can animate it
Diffstat (limited to 'webAO/client.js')
| -rw-r--r-- | webAO/client.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/webAO/client.js b/webAO/client.js index ebaa09e..da6acb4 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -1607,7 +1607,7 @@ async changeBackground(position) { // Reset CSS animation fg.style.animation = ""; gamewindow.style.animation = ""; - waitingBox.innerText = ""; + waitingBox.style.opacity = 0; const eviBox = document.getElementById("client_evi"); @@ -1887,7 +1887,7 @@ async changeBackground(position) { if (this.textnow === this.chatmsg.content) { charSprite.src = this.silentSprite; charSprite.style.opacity = 1; - waitingBox.innerHTML = "►"; + waitingBox.style.opacity = 1; this._animating = false; clearTimeout(this.updater); } @@ -1906,7 +1906,7 @@ async changeBackground(position) { this._animating = false; charSprite.src = this.silentSprite; charSprite.style.opacity = 1; - waitingBox.innerHTML = "►"; + waitingBox.style.opacity = 1; clearTimeout(this.updater); } } |
