diff options
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 21bf4b8..5695573 100644 --- a/client-web/source/index.ts +++ b/client-web/source/index.ts @@ -19,7 +19,7 @@ export interface User { window.onload = () => main() export async function main() { - document.body.querySelector("p")?.remove() + document.body.querySelectorAll("p").forEach(e => e.remove()) log("*", "starting up") const room_name = window.location.pathname.substring("/".length) const conn = await (new SignalingConnection().connect(room_name)) |