aboutsummaryrefslogtreecommitdiff
path: root/client-web/source/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client-web/source/index.ts')
-rw-r--r--client-web/source/index.ts2
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?: {