summaryrefslogtreecommitdiff
path: root/client-web/source/preferences
diff options
context:
space:
mode:
Diffstat (limited to 'client-web/source/preferences')
-rw-r--r--client-web/source/preferences/decl.ts2
1 files changed, 2 insertions, 0 deletions
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" }
}