From 2ebf3df540f6e0a56dde405ffde11a9f0431ca60 Mon Sep 17 00:00:00 2001 From: MickaelK Date: Fri, 1 Aug 2025 14:23:15 +1000 Subject: [PATCH] fix (tsc): tsc error --- public/assets/components/notification.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/assets/components/notification.js b/public/assets/components/notification.js index c5af029c..56b5b1bc 100644 --- a/public/assets/components/notification.js +++ b/public/assets/components/notification.js @@ -30,7 +30,7 @@ class NotificationComponent extends HTMLElement { if (this.buffer.length !== 1) { const $close = this.querySelector(".close"); if (!($close instanceof HTMLElement) || !$close.onclick) return; - $close.onclick(new MouseEvent("mousedown")); + $close.onclick(new PointerEvent("mousedown")); return; } await this.run();