aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay <[email protected]>2022-05-03 14:53:26 -0400
committerAjay <[email protected]>2022-05-03 14:53:26 -0400
commite72f3b1a1253035c1bdaa5b2e8fa4caa14565002 (patch)
tree7b2921ef3587b29cb074305badda5da87c9ac384
parentfd260f4caa97f3f5520936de4e859f50bef7d783 (diff)
downloadSponsorBlock-e72f3b1a1253035c1bdaa5b2e8fa4caa14565002.tar.gz
SponsorBlock-e72f3b1a1253035c1bdaa5b2e8fa4caa14565002.zip
Fix button not appearing when starting at a channel trailer
-rw-r--r--src/content.ts4
1 files changed, 3 insertions, 1 deletions
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