aboutsummaryrefslogtreecommitdiff
path: root/client-web/source/index.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-04-01 15:03:08 +0200
committermetamuffin <metamuffin@disroot.org>2024-04-01 15:03:08 +0200
commit5cd88136c70dc3aae12778180b7f1c2c568a00fc (patch)
tree564de5c986aa13e0f3465ff473e3e177daf177ed /client-web/source/index.ts
parent1d6c5b55b7abc287a7d0493858640d2c8c7da2c2 (diff)
downloadkeks-meet-5cd88136c70dc3aae12778180b7f1c2c568a00fc.tar
keks-meet-5cd88136c70dc3aae12778180b7f1c2c568a00fc.tar.bz2
keks-meet-5cd88136c70dc3aae12778180b7f1c2c568a00fc.tar.zst
more live regions and mute indicator
Diffstat (limited to 'client-web/source/index.ts')
-rw-r--r--client-web/source/index.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/client-web/source/index.ts b/client-web/source/index.ts
index 029ffc4..237db60 100644
--- a/client-web/source/index.ts
+++ b/client-web/source/index.ts
@@ -78,7 +78,6 @@ export async function main() {
if (!globalThis.navigator.serviceWorker) log({ scope: "*", warn: true }, "Your browser does not support the Service Worker API, forced automatic updates are unavoidable.")
if (PREFS.warn_redirect) log({ scope: "crypto", warn: true }, "You were redirected from the old URL format. The server knows the room secret now - E2EE is insecure!")
-
const sud = e("div", { class: "side-ui" })
const state: AppState = {
chat: new Chat(),
@@ -109,7 +108,7 @@ export async function main() {
globalThis.onbeforeunload = ev => {
if (state.room && state.room.local_user.resources.size != 0 && PREFS.enable_onbeforeunload) {
ev.preventDefault()
- return ev.returnValue = "You have local resources shared. Really quit?"
+ return "You have local resources shared. Really quit?"
}
}