aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils
diff options
context:
space:
mode:
authorAjay <[email protected]>2023-03-18 02:05:14 -0400
committerAjay <[email protected]>2023-03-18 02:05:14 -0400
commit488f5efa2f117b13dcfb0114bf628ee480800943 (patch)
tree77abfce405326205ba571c0ab49a726082796362 /src/utils
parente15e33b0488f31a5033f265e65ac0bac09c6da4c (diff)
downloadSponsorBlock-488f5efa2f117b13dcfb0114bf628ee480800943.tar.gz
SponsorBlock-488f5efa2f117b13dcfb0114bf628ee480800943.zip
Add option to disable thumbnail icons
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/thumbnails.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/thumbnails.ts b/src/utils/thumbnails.ts
index e78eb9c5..8b8ed266 100644
--- a/src/utils/thumbnails.ts
+++ b/src/utils/thumbnails.ts
@@ -9,7 +9,7 @@ export async function labelThumbnails(thumbnails: HTMLImageElement[]): Promise<v
}
export async function labelThumbnail(thumbnail: HTMLImageElement): Promise<HTMLElement | null> {
- if (!Config.config?.fullVideoSegments) {
+ if (!Config.config?.fullVideoSegments || !Config.config?.fullVideoLabelsOnThumbnails) {
hideThumbnailLabel(thumbnail);
return null;
}