mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-13 06:57:09 +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 the id has not changed return
|
||||||
if (sponsorVideoID === id) return;
|
if (sponsorVideoID === id) return;
|
||||||
|
|
||||||
|
// Reset hidden times (only do this when the ID has changed)
|
||||||
|
hiddenSponsorTimes = [];
|
||||||
|
|
||||||
//set the global videoID
|
//set the global videoID
|
||||||
sponsorVideoID = id;
|
sponsorVideoID = id;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user