diff options
| author | sD <stoned@derpymail.org> | 2019-12-26 16:08:28 +0100 |
|---|---|---|
| committer | sD <stoned@derpymail.org> | 2019-12-26 16:08:28 +0100 |
| commit | 32c42015e57e7cf2d5c66a1d54ceec2e9cdb1214 (patch) | |
| tree | 7dd261337c5e020797de580091e0701f1ffd5a21 /webAO/client.js | |
| parent | 9737b4274caca7c9b1c6b97e5cee5b63ca2199a1 (diff) | |
replace shake animation
Diffstat (limited to 'webAO/client.js')
| -rw-r--r-- | webAO/client.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/webAO/client.js b/webAO/client.js index ca1dcdd..10ae4e5 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -1368,9 +1368,7 @@ class Viewport { this.sfxplayed = 1; this.sfxaudio.src = AO_HOST + "sounds/general/sfx-stab.wav"; this.sfxaudio.play(); - $("#client_gamewindow").effect("shake", { - "direction": "up" - }); + document.getElementById("client_gamewindow").style.animation = "shake 0.2s 1"; } else if (this.chatmsg.flash === "1") { // Flash screen background.style.backgroundColor = "white"; |
