Properly reset hiddenSponsorTimes.

Maybe related to https://github.com/ajayyy/SponsorBlock/issues/325
This commit is contained in:
Ajay Ramachandran
2020-04-24 21:27:45 -04:00
parent 8912f88131
commit 4131442066

View File

@@ -287,6 +287,9 @@ async function videoIDChange(id) {
//if the id has not changed return
if (sponsorVideoID === id) return;
// Reset hidden times (only do this when the ID has changed)
hiddenSponsorTimes = [];
//set the global videoID
sponsorVideoID = id;