mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-15 07:57:09 +03:00
Show only first segment category in upcoming notice
This commit is contained in:
@@ -814,7 +814,7 @@ async function startSponsorSchedule(includeIntersectingSegments = false, current
|
|||||||
const autoSkip = shouldAutoSkip(skippingSegments[0]);
|
const autoSkip = shouldAutoSkip(skippingSegments[0]);
|
||||||
|
|
||||||
if (currentUpcomingSchedule) clearTimeout(currentUpcomingSchedule);
|
if (currentUpcomingSchedule) clearTimeout(currentUpcomingSchedule);
|
||||||
currentUpcomingSchedule = setTimeout(createUpcomingNotice, timeUntilPopup, skippingSegments, popupTime, autoSkip);
|
currentUpcomingSchedule = setTimeout(createUpcomingNotice, timeUntilPopup, [skippingSegments[0]], popupTime, autoSkip);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user