From 41314420665e79065a53aaa2851f5bd24103348d Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Fri, 24 Apr 2020 21:27:45 -0400 Subject: [PATCH] Properly reset hiddenSponsorTimes. Maybe related to https://github.com/ajayyy/SponsorBlock/issues/325 --- src/content.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/content.ts b/src/content.ts index 79cb81ba..f18202c7 100644 --- a/src/content.ts +++ b/src/content.ts @@ -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;