mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-11 22:17:21 +03:00
Remove unused function
This commit is contained in:
@@ -1011,8 +1011,6 @@ function unskipSponsorTime(segment: SponsorTime) {
|
|||||||
if (sponsorTimes != null) {
|
if (sponsorTimes != null) {
|
||||||
//add a tiny bit of time to make sure it is not skipped again
|
//add a tiny bit of time to make sure it is not skipped again
|
||||||
video.currentTime = segment.segment[0] + 0.001;
|
video.currentTime = segment.segment[0] + 0.001;
|
||||||
|
|
||||||
checkIfInsideSegment();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1020,16 +1018,6 @@ function reskipSponsorTime(segment: SponsorTime) {
|
|||||||
video.currentTime = segment.segment[1];
|
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 {
|
function createButton(baseID, title, callback, imageName, isDraggable=false): boolean {
|
||||||
if (document.getElementById(baseID + "Button") != null) return false;
|
if (document.getElementById(baseID + "Button") != null) return false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user