From 7badfd9b325088ec9a7a203486580b6168724d3a Mon Sep 17 00:00:00 2001 From: Ajay Date: Sun, 3 Jul 2022 18:33:32 -0400 Subject: [PATCH] Fix existing chapters opening skip notice when chapters disabled --- src/content.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content.ts b/src/content.ts index b5d23146..09137e0f 100644 --- a/src/content.ts +++ b/src/content.ts @@ -1569,6 +1569,7 @@ function shouldAutoSkip(segment: SponsorTime): boolean { function shouldSkip(segment: SponsorTime): boolean { return (segment.actionType !== ActionType.Full + && segment.source !== SponsorSourceType.YouTube && utils.getCategorySelection(segment.category)?.option !== CategorySkipOption.ShowOverlay) || (Config.config.autoSkipOnMusicVideos && sponsorTimes?.some((s) => s.category === "music_offtopic")); }