aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/thumbnails.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/thumbnails.ts')
-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 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();
});
};