From bfeb96146309e1f92e2d3f040a0ee874131ed90c Mon Sep 17 00:00:00 2001 From: metamuffin Date: Wed, 5 Apr 2023 09:08:46 +0200 Subject: fix loading --- client-web/public/app.html | 13 ++++++++----- client-web/source/index.ts | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'client-web') diff --git a/client-web/public/app.html b/client-web/public/app.html index 4c7d10d..66062d9 100644 --- a/client-web/public/app.html +++ b/client-web/public/app.html @@ -3,7 +3,10 @@ - + keks-meet @@ -16,10 +19,10 @@ codeberg

-

keks-meet is loading, please wait…

-

- If this takes too long check the browser console to see if - something else failed +

keks-meet is loading, please wait…

+

+ If this takes too long check your browser's console to see if + something else failed.

diff --git a/client-web/source/index.ts b/client-web/source/index.ts index 3610ead..74f8963 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.") -- cgit v1.2.3-70-g09d2