diff options
author | Ajay <[email protected]> | 2023-03-17 23:41:59 -0400 |
---|---|---|
committer | Ajay <[email protected]> | 2023-03-17 23:41:59 -0400 |
commit | 2374f4d31b7df6ada17aeb02e9037dc9df95a544 (patch) | |
tree | 4b867307e5bb9d4bc4ac6687984eb640fb0f468f /src | |
parent | 52f58b8ea481af92360c7fb783b7f44023600fdc (diff) | |
download | SponsorBlock-2374f4d31b7df6ada17aeb02e9037dc9df95a544.tar.gz SponsorBlock-2374f4d31b7df6ada17aeb02e9037dc9df95a544.zip |
Fix invidious support for thumbnail labels
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/thumbnails.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/thumbnails.ts b/src/utils/thumbnails.ts index 4aec8d39..e78eb9c5 100644 --- a/src/utils/thumbnails.ts +++ b/src/utils/thumbnails.ts @@ -114,7 +114,7 @@ export function setupThumbnailPageLoadListener(): void { insertSBIconDefinition(); // Label thumbnails on load if on Invidious (wait for variable initialization before checking) - waitFor(() => isOnInvidious() !== undefined).then(() => { + waitFor(() => isOnInvidious() !== null).then(() => { if (isOnInvidious()) newThumbnails(); }); }; |