mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-06 19:47:04 +03:00
Remove unused function
This commit is contained in:
@@ -1598,18 +1598,6 @@ function updateAdFlag() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function formatTime(seconds) {
|
|
||||||
if(isNaN(seconds)) return
|
|
||||||
const h = Math.floor(seconds / 3600);
|
|
||||||
const m = Math.floor((seconds % 3600) / 60);
|
|
||||||
const s = Math.round(seconds % 60);
|
|
||||||
return [
|
|
||||||
h,
|
|
||||||
m > 9 ? m : (h ? '0' + m : m || '0'),
|
|
||||||
s > 9 ? s : '0' + s
|
|
||||||
].filter(Boolean).join(':');
|
|
||||||
}
|
|
||||||
|
|
||||||
function showTimeWithoutSkips(allSponsorTimes): void {
|
function showTimeWithoutSkips(allSponsorTimes): void {
|
||||||
let skipDuration = 0;
|
let skipDuration = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user