From cdaea55c1b357c042e9f9e8f6223f1fd6db2b616 Mon Sep 17 00:00:00 2001 From: sD Date: Wed, 27 May 2020 22:34:52 +0200 Subject: change chatwaiting back to opacity so i can animate it --- webAO/client.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'webAO/client.js') 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); } } -- cgit