mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-11 14:07:13 +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];
|
||||
}
|
||||
|
||||
if(skipDuration === 0) return
|
||||
|
||||
let display = document.getElementsByClassName("ytp-time-display notranslate")[0];
|
||||
if (display === undefined) return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user