mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 09:07:45 +01:00
Clear all skip notices when changing videos
Closes https://github.com/ajayyy/SponsorBlock/issues/726
This commit is contained in:
parent
777f3a2769
commit
caae61a6a8
1 changed files with 4 additions and 0 deletions
|
@ -241,6 +241,10 @@ function resetValues() {
|
|||
|
||||
// Reset advert playing flag
|
||||
isAdPlaying = false;
|
||||
|
||||
for (let i = 0; i < skipNotices.length; i++) {
|
||||
skipNotices.pop().close();
|
||||
}
|
||||
}
|
||||
|
||||
async function videoIDChange(id) {
|
||||
|
|
Loading…
Reference in a new issue