diff --git a/YoutubeScript.js b/YoutubeScript.js index 458601b..78c6b54 100644 --- a/YoutubeScript.js +++ b/YoutubeScript.js @@ -974,7 +974,7 @@ function mergeSBChapters(videoChapters, sbChapters) { type: videoChapter.type }; - if(sponsor.timeStart <= startTime && sponsor.timeEnd <= videoChapter.timeEnd) { + if(sponsor.timeStart <= startTime && sponsor.timeEnd >= videoChapter.timeEnd) { newChapters.push(sponsor); skip = true; }