Clear all skip notices when changing videos

Closes https://github.com/ajayyy/SponsorBlock/issues/726
This commit is contained in:
Ajay Ramachandran 2021-07-18 15:05:47 -04:00
parent 777f3a2769
commit caae61a6a8

View file

@ -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) {