mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 09:07:45 +01:00
merge only one
This commit is contained in:
parent
0451dcd975
commit
86e5ef7523
1 changed files with 0 additions and 6 deletions
|
@ -730,12 +730,6 @@ async function sponsorsLookup(id: string, keepOldSubmissions = true) {
|
|||
segment.hidden = SponsorHideType.MinimumDuration;
|
||||
}
|
||||
}
|
||||
for (let i = 0; i < sponsorTimes.length; i++) {
|
||||
const duration = sponsorTimes[i].segment[1] - sponsorTimes[i].segment[0] ;
|
||||
if (duration > 0 && duration < Config.config.minDuration) {
|
||||
sponsorTimes[i].hidden = SponsorHideType.MinimumDuration;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (keepOldSubmissions) {
|
||||
|
|
Loading…
Reference in a new issue