diff options
Diffstat (limited to 'client-web')
-rw-r--r-- | client-web/public/app.html | 13 | ||||
-rw-r--r-- | client-web/source/index.ts | 2 |
2 files changed, 9 insertions, 6 deletions
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 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="description" content="A simple secure web conferencing application using webrtc"> + <meta + name="description" + content="A simple secure web conferencing application using webrtc" + /> <script async type="module" src="/assets/bundle.js"></script> <link rel="stylesheet" href="/assets/style/master.css" /> <title>keks-meet</title> @@ -16,10 +19,10 @@ <a href="https://codeberg.org/metamuffin/keks-meet">codeberg</a> </p> </noscript> - <h1>keks-meet is loading, please wait…</h1> - <p> - If this takes <i>too long</i> check the browser console to see if - something else failed + <h1 class="loading">keks-meet is loading, please wait…</h1> + <p class="loading"> + If this takes too long check your browser's console to see if + something else failed. </p> </body> </html> 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.") |