From ae3b956497f8eb1b019752f9588b04798304c6bd Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 21 Sep 2019 18:03:23 -0700 Subject: Disable click launches from notification page --- app/src/web/ts/click_a.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'app/src/web') diff --git a/app/src/web/ts/click_a.ts b/app/src/web/ts/click_a.ts index 1fd63683..8a7cc48c 100644 --- a/app/src/web/ts/click_a.ts +++ b/app/src/web/ts/click_a.ts @@ -42,7 +42,10 @@ type EventHandler = (e: Event, target: HTMLElement) => Boolean const _frostGeneral: EventHandler = (e, target) => { - // Notifications are two layers under + // We now disable clicks for the main notification page + if (document.getElementById("notifications_list")) { + return false + } const url = _parentUrl(target, 2); return Frost.loadUrl(url); }; -- cgit v1.2.3