mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-13 15:07:02 +03:00
fix upcoming notice closing
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user