mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-08 12:37:05 +03:00
Remove redundant code
This commit is contained in:
@@ -454,11 +454,9 @@ function startSponsorSchedule(currentTime?: number): void {
|
||||
let skippingFunction = () => {
|
||||
if (video.currentTime >= skipTime[0] && video.currentTime < skipTime[1]) {
|
||||
skipToTime(video, skipInfo.index, skipInfo.array, skipInfo.openNotice);
|
||||
}
|
||||
|
||||
startSponsorSchedule();
|
||||
} else {
|
||||
startSponsorSchedule();
|
||||
}
|
||||
};
|
||||
|
||||
if (timeUntilSponsor <= 0) {
|
||||
|
||||
Reference in New Issue
Block a user