aboutsummaryrefslogtreecommitdiff
path: root/webAO/client.js
diff options
context:
space:
mode:
authorstonedDiscord <stoned@derpymail.org>2019-07-17 22:37:54 +0200
committerGitHub <noreply@github.com>2019-07-17 22:37:54 +0200
commit95652a6182fb2848eebdbdd8afdd63adea0dbbbd (patch)
tree03035602a35e69d76b01f669405bd6b2ab2ebeb8 /webAO/client.js
parent050ede4a488c11a5c0cae05bcc17cd2dc0b17d01 (diff)
parentce424437a06d9e7219b7ac9da994dfb8ce685044 (diff)
Merge pull request #21 from AttorneyOnline/resizing-fix
Resizing fix
Diffstat (limited to 'webAO/client.js')
-rw-r--r--webAO/client.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/webAO/client.js b/webAO/client.js
index 8a5ddfb..d97cb2d 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -1087,7 +1087,6 @@ class Viewport {
const chatBox = document.getElementById("client_chat");
const charSprite = document.getElementById("client_char");
const eviBox = document.getElementById("client_evi");
- const background = document.getElementById("client_background");
const shoutSprite = document.getElementById("client_shout");
const chatBoxInner = document.getElementById("client_inner_chat");
@@ -1103,8 +1102,6 @@ class Viewport {
}
if (this.chatmsg.isnew) {
- // Reset screen background
- background.style.backgroundColor = "transparent";
// Hide message and evidence window
nameBox.style.display = "none";
chatBox.style.display = "none";
@@ -1142,7 +1139,6 @@ class Viewport {
});
} else if (this.chatmsg.flash === 1) {
// Flash screen
- background.style.backgroundColor = "white";
this.sfxaudio.pause();
this.sfxplayed = 1;
this.sfxaudio.src = AO_HOST + "sounds/general/sfx-realization.wav";