summaryrefslogtreecommitdiff
path: root/client-web/source/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client-web/source/index.ts')
-rw-r--r--client-web/source/index.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/client-web/source/index.ts b/client-web/source/index.ts
index 8da99ea..84a86e9 100644
--- a/client-web/source/index.ts
+++ b/client-web/source/index.ts
@@ -59,7 +59,7 @@ export async function main() {
const config: ClientConfig = await config_res.json()
log("*", "config loaded. starting")
- document.body.querySelectorAll("p").forEach(e => e.remove())
+ document.body.querySelectorAll(".loading").forEach(e => e.remove())
const room_secret = load_params().rsecret
if (!globalThis.RTCPeerConnection) return log({ scope: "webrtc", error: true }, "WebRTC not supported.")
@@ -84,8 +84,8 @@ export async function main() {
setup_keybinds(r)
r.on_ready = () => {
- new BottomMenu(r).shown = true
- new MenuBr().shown = true
+ new BottomMenu(r)
+ new MenuBr()
}
document.body.prepend(ROOM_CONTAINER, OVERLAYS)