diff options
| author | metamuffin <metamuffin@disroot.org> | 2023-04-05 09:08:46 +0200 | 
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2023-04-05 09:08:46 +0200 | 
| commit | bfeb96146309e1f92e2d3f040a0ee874131ed90c (patch) | |
| tree | 46c842fbb1c3dccf0718fb6052545a7dd6ac7c0d /client-web | |
| parent | 99d1ab55dfb1714d8f574060e618dc93c94f245c (diff) | |
| download | keks-meet-bfeb96146309e1f92e2d3f040a0ee874131ed90c.tar keks-meet-bfeb96146309e1f92e2d3f040a0ee874131ed90c.tar.bz2 keks-meet-bfeb96146309e1f92e2d3f040a0ee874131ed90c.tar.zst | |
fix loading
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.") | 
