mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-06 11:37:02 +03:00
Clear all skip notices when changing videos
Closes https://github.com/ajayyy/SponsorBlock/issues/726
This commit is contained in:
@@ -241,6 +241,10 @@ function resetValues() {
|
|||||||
|
|
||||||
// Reset advert playing flag
|
// Reset advert playing flag
|
||||||
isAdPlaying = false;
|
isAdPlaying = false;
|
||||||
|
|
||||||
|
for (let i = 0; i < skipNotices.length; i++) {
|
||||||
|
skipNotices.pop().close();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async function videoIDChange(id) {
|
async function videoIDChange(id) {
|
||||||
|
|||||||
Reference in New Issue
Block a user