diff options
author | metamuffin <metamuffin@disroot.org> | 2024-04-02 12:22:09 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-04-02 12:22:09 +0200 |
commit | bf022dbae8583482d86deec63f0f413e01f8d593 (patch) | |
tree | 7134386897251fe49b75f7993702f060c86d2416 /client-web/source/index.ts | |
parent | 3b87805d50bef3e73e857dd8025a4383e5f6651d (diff) | |
download | keks-meet-bf022dbae8583482d86deec63f0f413e01f8d593.tar keks-meet-bf022dbae8583482d86deec63f0f413e01f8d593.tar.bz2 keks-meet-bf022dbae8583482d86deec63f0f413e01f8d593.tar.zst |
no async script load and optional logger
Diffstat (limited to 'client-web/source/index.ts')
-rw-r--r-- | client-web/source/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client-web/source/index.ts b/client-web/source/index.ts index 4be573f..73572cb 100644 --- a/client-web/source/index.ts +++ b/client-web/source/index.ts @@ -18,7 +18,7 @@ import { init_locale } from "./locale/mod.ts"; import { PO } from "./locale/mod.ts"; export const VERSION = "1.0.4" -globalThis.onload = () => main() +globalThis.addEventListener("DOMContentLoaded", () => main()) export interface ClientConfig { appearance?: { |