diff options
author | Acors24 <[email protected]> | 2024-09-04 00:15:17 +0200 |
---|---|---|
committer | Acors24 <[email protected]> | 2024-09-04 00:15:17 +0200 |
commit | 5577b38e2b0582c1dc0b54dbb7efb751823e6444 (patch) | |
tree | 246bbcec31bef3a3fd9c8e0ed3af807983226618 | |
parent | ae4f850ff4560a9ce7f7149355a4deff0a4db4f0 (diff) | |
download | SponsorBlock-5577b38e2b0582c1dc0b54dbb7efb751823e6444.tar.gz SponsorBlock-5577b38e2b0582c1dc0b54dbb7efb751823e6444.zip |
fix upcoming notice closing
-rw-r--r-- | src/content.ts | 3 |
1 files changed, 3 insertions, 0 deletions
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(); } |