mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 17:17:45 +01:00
Remove duplicate code
This commit is contained in:
parent
3a0d5221f6
commit
dd5ed6ce42
1 changed files with 1 additions and 1 deletions
|
@ -469,7 +469,7 @@ function startSponsorSchedule(includeIntersectingSegments: boolean = false, curr
|
|||
cancelSponsorSchedule();
|
||||
|
||||
// Don't skip if advert playing and reset last checked time
|
||||
if (document.getElementsByClassName('ad-showing').length > 0) {
|
||||
if (isAdPlaying) {
|
||||
// Reset lastCheckVideoTime
|
||||
lastCheckVideoTime = -1;
|
||||
lastCheckTime = 0;
|
||||
|
|
Loading…
Reference in a new issue