diff options
author | Ajay <[email protected]> | 2024-11-27 13:55:13 -0500 |
---|---|---|
committer | Ajay <[email protected]> | 2024-11-27 13:55:13 -0500 |
commit | b28c72bc523d3c339f8a2e2b817ba6d1694a6e24 (patch) | |
tree | d8c09f3fc086932307b9ed5d57dae8493d647a2f | |
parent | b98300596c45191cff096dfc0a0327e7713822bd (diff) | |
download | SponsorBlock-b28c72bc523d3c339f8a2e2b817ba6d1694a6e24.tar.gz SponsorBlock-b28c72bc523d3c339f8a2e2b817ba6d1694a6e24.zip |
Show only first segment category in upcoming notice
-rw-r--r-- | src/content.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content.ts b/src/content.ts index 9fcf3381..fe6c4268 100644 --- a/src/content.ts +++ b/src/content.ts @@ -814,7 +814,7 @@ async function startSponsorSchedule(includeIntersectingSegments = false, current const autoSkip = shouldAutoSkip(skippingSegments[0]); if (currentUpcomingSchedule) clearTimeout(currentUpcomingSchedule); - currentUpcomingSchedule = setTimeout(createUpcomingNotice, timeUntilPopup, skippingSegments, popupTime, autoSkip); + currentUpcomingSchedule = setTimeout(createUpcomingNotice, timeUntilPopup, [skippingSegments[0]], popupTime, autoSkip); } } } |