From e590ea788aefe0714bb9ce24976303566a648d42 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Fri, 9 Sep 2022 12:45:37 +0200 Subject: reworked websocket stuff with encryption and new spec --- client-web/source/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client-web/source/index.ts') 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)) -- cgit v1.2.3-70-g09d2