mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-11 14:07:13 +03:00
Properly reset hiddenSponsorTimes.
Maybe related to https://github.com/ajayyy/SponsorBlock/issues/325
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user