aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay <[email protected]>2024-11-27 13:55:13 -0500
committerAjay <[email protected]>2024-11-27 13:55:13 -0500
commitb28c72bc523d3c339f8a2e2b817ba6d1694a6e24 (patch)
treed8c09f3fc086932307b9ed5d57dae8493d647a2f
parentb98300596c45191cff096dfc0a0327e7713822bd (diff)
downloadSponsorBlock-b28c72bc523d3c339f8a2e2b817ba6d1694a6e24.tar.gz
SponsorBlock-b28c72bc523d3c339f8a2e2b817ba6d1694a6e24.zip
Show only first segment category in upcoming notice
-rw-r--r--src/content.ts2
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);
}
}
}