mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-14 07:27:05 +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)) {
|
} else if (keybindEquals(key, closeSkipNoticeKey)) {
|
||||||
for (let i = 0; i < skipNotices.length; i++) {
|
for (let i = 0; i < skipNotices.length; i++) {
|
||||||
skipNotices.pop().close();
|
skipNotices.pop().close();
|
||||||
|
}
|
||||||
|
|
||||||
|
for (let i = 0; i < upcomingNotices.length; i++) {
|
||||||
upcomingNotices.pop().close();
|
upcomingNotices.pop().close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user