aboutsummaryrefslogtreecommitdiff
path: root/webAO/client.js
diff options
context:
space:
mode:
authorsD <stoned@derpymail.org>2020-05-27 22:34:52 +0200
committersD <stoned@derpymail.org>2020-05-27 22:34:52 +0200
commitcdaea55c1b357c042e9f9e8f6223f1fd6db2b616 (patch)
tree32914bde278291311ea7e8ef22d338aabb0a54b1 /webAO/client.js
parent0e2f19fa004af7686dbd0a608d3383866a73c104 (diff)
change chatwaiting back to opacity so i can animate it
Diffstat (limited to 'webAO/client.js')
-rw-r--r--webAO/client.js6
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 = "&#9658;";
+ 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 = "&#9658;";
+ waitingBox.style.opacity = 1;
clearTimeout(this.updater);
}
}