From 01b9d4a647d515672f9e4260e1cc70fe1cda910f Mon Sep 17 00:00:00 2001 From: tpart Date: Sat, 21 Jan 2023 11:52:46 +0100 Subject: Fix logger container --- client-web/source/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client-web/source/index.ts') diff --git a/client-web/source/index.ts b/client-web/source/index.ts index cc3492f..4772f94 100644 --- a/client-web/source/index.ts +++ b/client-web/source/index.ts @@ -50,6 +50,7 @@ window.onbeforeunload = ev => { let r: Room; export async function main() { + document.body.append(LOGGER_CONTAINER) log("*", "starting up") document.body.querySelectorAll("p").forEach(e => e.remove()) const room_secret = load_params().rsecret @@ -70,7 +71,7 @@ export async function main() { new BottomMenu(r).shown = true new MenuBr().shown = true } - document.body.append(ROOM_CONTAINER, OVERLAYS, LOGGER_CONTAINER) + document.body.prepend(ROOM_CONTAINER, OVERLAYS) if (globalThis.navigator.serviceWorker) init_serviceworker() } -- cgit v1.2.3-70-g09d2