mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-11 22:17:21 +03:00
@@ -637,7 +637,7 @@ function sponsorsLookup(id: string) {
|
|||||||
getResult = getResult.filter((video) => {
|
getResult = getResult.filter((video) => {
|
||||||
return video.videoID = id;
|
return video.videoID = id;
|
||||||
});
|
});
|
||||||
if (getResult.length === 1) {
|
if (getResult.length > 0) {
|
||||||
getResult = getResult[0].segments;
|
getResult = getResult[0].segments;
|
||||||
if (getResult.length === 0) { // return if no segments found
|
if (getResult.length === 0) { // return if no segments found
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user