Remove redundant code

This commit is contained in:
Ajay Ramachandran
2020-02-19 13:35:05 -05:00
parent 8b28bccfd7
commit 397bcc94c5

View File

@@ -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) {