aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstonedDiscord <stoned@derpymail.org>2019-07-17 22:13:33 +0200
committerstonedDiscord <stoned@derpymail.org>2019-07-17 22:13:33 +0200
commit6d3b340bac4e858d2f654040b0291d4cd0d83986 (patch)
tree50da4da2a6c0b1c339e5800396f2530dda90b13c
parent54f8e92a87485656f3cad8f4c6fb1907401e4335 (diff)
remove deprecated client_background that was blocking the scrollbar somehow
-rw-r--r--webAO/client.css8
-rw-r--r--webAO/client.html1
-rw-r--r--webAO/client.js4
3 files changed, 0 insertions, 13 deletions
diff --git a/webAO/client.css b/webAO/client.css
index 40c8aad..54c688d 100644
--- a/webAO/client.css
+++ b/webAO/client.css
@@ -188,14 +188,6 @@ img {
left: 0;
}
-#client_background {
- position: absolute;
- background-color: transparent;
- width: 100%;
- height: auto;
- padding-bottom: 75%;
-}
-
#client_name {
display: none;
height: 7%;
diff --git a/webAO/client.html b/webAO/client.html
index 8b6a990..2216666 100644
--- a/webAO/client.html
+++ b/webAO/client.html
@@ -23,7 +23,6 @@
<template id="client_wrapper">
<meta name="frame-title" lang="en" content="Game">
<div id="client_icwrapper">
- <div id="client_background"></div>
<div id="client_gamewindow">
<img id="client_court" alt="Courtroom background" onerror="imgError(this);">
<img id="client_char" onerror="imgError(this);">
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";