aboutsummaryrefslogtreecommitdiff
path: root/webAO/client.js
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/client.js')
-rw-r--r--webAO/client.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/webAO/client.js b/webAO/client.js
index 10ae4e5..c03d32e 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -1376,7 +1376,7 @@ class Viewport {
this.sfxplayed = 1;
this.sfxaudio.src = AO_HOST + "sounds/general/sfx-realization.wav";
this.sfxaudio.play();
- $("#client_gamewindow").effect("pulsate", { times: 1 }, 200);
+ document.getElementById("client_fg").style.animation = "flash 0.4s 1";
}
// Pre-animation stuff
@@ -1889,7 +1889,6 @@ async function changeBackground(position) {
};
const { bg, desk, speedLines } = positions[position];
- document.getElementById("client_fg").style.display = "none";
if (viewport.chatmsg.type === "5") {
document.getElementById("client_court").src = `${AO_HOST}themes/default/${encodeURI(speedLines)}`;