diff options
Diffstat (limited to 'client-web')
-rw-r--r-- | client-web/public/app.html | 15 | ||||
-rw-r--r-- | client-web/source/index.ts | 2 |
2 files changed, 10 insertions, 7 deletions
diff --git a/client-web/public/app.html b/client-web/public/app.html index 665a7d2..8479a22 100644 --- a/client-web/public/app.html +++ b/client-web/public/app.html @@ -8,13 +8,16 @@ <title>keks-meet</title> </head> <body> + <noscript> + <p> + keks-meet needs evil javascript to be enabled. Don't be afraid + though, all the code is free (AGPL-3.0-only)! Look at it on + <a href="https://codeberg.org/metamuffin/keks-meet">codeberg</a> + </p> + </noscript> + <h1>keks-meet is loading, please wait…</h1> <p> - keks-meet needs evil javascript to be enabled. Don't be afraid - though, all the code is free (AGPL-3.0-only)! Look at it on - <a href="https://codeberg.org/metamuffin/keks-meet">codeberg</a> - </p> - <p> - If you have JS enabled, check the browser console to see if + If this takes <i>too long</i> check the browser console to see if something else failed </p> </body> diff --git a/client-web/source/index.ts b/client-web/source/index.ts index a853c58..e42cb74 100644 --- a/client-web/source/index.ts +++ b/client-web/source/index.ts @@ -51,7 +51,7 @@ window.onbeforeunload = ev => { let r: Room; export async function main() { log("*", "starting up") - document.body.querySelectorAll("p").forEach(e => e.remove()) + document.body.innerHTML = "" // remove existing elements const room_name = load_params().rname if (!globalThis.RTCPeerConnection) return log({ scope: "webrtc", error: true }, "WebRTC not supported.") |