From c8ac1b899f7a79898b3ec84157db642051e8e1ae Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 9 Oct 2022 18:59:23 +0200 Subject: onbeforeunload --- client-web/source/preferences/decl.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client-web/source/preferences') diff --git a/client-web/source/preferences/decl.ts b/client-web/source/preferences/decl.ts index e8e094b..effd885 100644 --- a/client-web/source/preferences/decl.ts +++ b/client-web/source/preferences/decl.ts @@ -39,4 +39,6 @@ export const PREF_DECLS = { notify_chat: { type: bool, default: true, description: "Send notifications for incoming chat messages" }, notify_join: { type: bool, default: true, description: "Send notifications when users join" }, notify_leave: { type: bool, default: true, description: "Send notifications when users leave" }, + + enable_onbeforeunload: { type: bool, default: true, description: "Prompt for confirmation when leaving the site while local resources are active" } } -- cgit v1.2.3-70-g09d2