Fixed invidious preview bar

This commit is contained in:
Ajay Ramachandran
2020-07-05 00:09:18 -04:00
parent 0b9df8a45c
commit 87f3cf3881
2 changed files with 5 additions and 3 deletions

View File

@@ -418,7 +418,7 @@ function createPreviewBar(): void {
const el = document.querySelectorAll(selector);
if (el && el.length && el[0]) {
previewBar = new PreviewBar(el[0], onMobileYouTube);
previewBar = new PreviewBar(el[0], onMobileYouTube, onInvidious);
updatePreviewBar();