mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-06 08:22:24 +01:00
fix (tsc): tsc error
This commit is contained in:
parent
3c20f044f6
commit
2ebf3df540
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue