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();