diff options
Diffstat (limited to 'src/content.ts')
-rw-r--r-- | src/content.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/content.ts b/src/content.ts index 1f1315ea..e013099b 100644 --- a/src/content.ts +++ b/src/content.ts @@ -684,6 +684,7 @@ async function startSponsorSchedule(includeIntersectingSegments = false, current const reportedVideoTimeAtStart = getVideo().currentTime; logDebug(`Starting setInterval skipping ${getVideo().currentTime} to skip at ${skipTime[0]}`); + if (currentSkipInterval !== null) clearInterval(currentSkipInterval); currentSkipInterval = setInterval(() => { // Estimate delay, but only take the current time right after a change // Current time remains the same for many "frames" on Firefox |