From b6206fabbcd182a96a4221972ffadfc153b86aba Mon Sep 17 00:00:00 2001 From: Joe Dowd Date: Fri, 4 Sep 2020 11:55:42 +0100 Subject: [PATCH] Update src/content.ts Co-authored-by: Ajay Ramachandran --- src/content.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content.ts b/src/content.ts index 061a0159..499dea18 100644 --- a/src/content.ts +++ b/src/content.ts @@ -637,7 +637,7 @@ function sponsorsLookup(id: string) { getResult = getResult.filter((video) => { return video.videoID = id; }); - if (getResult.length === 1) { + if (getResult.length > 0) { getResult = getResult[0].segments; if (getResult.length === 0) { // return if no segments found return;