Remove unused function

This commit is contained in:
Ajay Ramachandran
2020-07-05 00:05:36 -04:00
parent dea9dac20a
commit 59c5b7eefe

View File

@@ -1011,8 +1011,6 @@ function unskipSponsorTime(segment: SponsorTime) {
if (sponsorTimes != null) {
//add a tiny bit of time to make sure it is not skipped again
video.currentTime = segment.segment[0] + 0.001;
checkIfInsideSegment();
}
}
@@ -1020,16 +1018,6 @@ function reskipSponsorTime(segment: SponsorTime) {
video.currentTime = segment.segment[1];
}
/**
* Checks if currently inside a segment and will trigger
* a skip schedule if true.
*
* This is used for when a manual skip is finished or a reskip is complete
*/
function checkIfInsideSegment() {
// for
}
function createButton(baseID, title, callback, imageName, isDraggable=false): boolean {
if (document.getElementById(baseID + "Button") != null) return false;