mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-13 23:17:05 +03:00
Fix time without skips on mobile
This commit is contained in:
@@ -2649,7 +2649,12 @@ function showTimeWithoutSkips(skippedDuration: number): void {
|
||||
duration = document.createElement('span');
|
||||
duration.id = durationID;
|
||||
|
||||
display.appendChild(duration);
|
||||
if (isOnMobileYouTube()) {
|
||||
duration.style.paddingLeft = "4px";
|
||||
display.insertBefore(duration, display.lastChild);
|
||||
} else {
|
||||
display.appendChild(duration);
|
||||
}
|
||||
}
|
||||
|
||||
const durationAfterSkips = getFormattedTime(getVideoDuration() - skippedDuration);
|
||||
|
||||
Reference in New Issue
Block a user