From e72f3b1a1253035c1bdaa5b2e8fa4caa14565002 Mon Sep 17 00:00:00 2001 From: Ajay Date: Tue, 3 May 2022 14:53:26 -0400 Subject: [PATCH] Fix button not appearing when starting at a channel trailer --- src/content.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/content.ts b/src/content.ts index f24c03af..f1fcc9a9 100644 --- a/src/content.ts +++ b/src/content.ts @@ -1019,7 +1019,9 @@ function getYouTubeVideoIDFromURL(url: string): string | boolean { utils.wait(() => Config.config !== null).then(() => videoIDChange(getYouTubeVideoIDFromURL(url))); } - return false + return false; + } else { + onInvidious = false; } //Get ID from searchParam