mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-13 15:07:02 +03:00
Skip if skipDuration is 0
This commit is contained in:
@@ -1622,6 +1622,8 @@ function hideSponsorTime(barTimes) {
|
|||||||
skipDuration += time.segment[1] - time.segment[0];
|
skipDuration += time.segment[1] - time.segment[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(skipDuration === 0) return
|
||||||
|
|
||||||
let display = document.getElementsByClassName("ytp-time-display notranslate")[0];
|
let display = document.getElementsByClassName("ytp-time-display notranslate")[0];
|
||||||
if (display === undefined) return
|
if (display === undefined) return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user