From 5577b38e2b0582c1dc0b54dbb7efb751823e6444 Mon Sep 17 00:00:00 2001 From: Acors24 Date: Wed, 4 Sep 2024 00:15:17 +0200 Subject: [PATCH] fix upcoming notice closing --- src/content.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/content.ts b/src/content.ts index 5a9af1d3..3fc59cdf 100644 --- a/src/content.ts +++ b/src/content.ts @@ -2597,6 +2597,9 @@ function hotkeyListener(e: KeyboardEvent): void { } else if (keybindEquals(key, closeSkipNoticeKey)) { for (let i = 0; i < skipNotices.length; i++) { skipNotices.pop().close(); + } + + for (let i = 0; i < upcomingNotices.length; i++) { upcomingNotices.pop().close(); }