mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-10 05:27:03 +03:00
Added zero second preview sponsors.
This commit is contained in:
@@ -540,6 +540,14 @@ function sponsorsLookup(id: string, channelIDPromise?) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!zeroSecondSponsor) {
|
||||||
|
for (const time of sponsorTimesSubmitting) {
|
||||||
|
if (time[0] <= 0) {
|
||||||
|
zeroSecondSponsor = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (zeroSecondSponsor) {
|
if (zeroSecondSponsor) {
|
||||||
startSponsorSchedule(0);
|
startSponsorSchedule(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user