From ff3d8ff2d681b591749ed38666ef33ba66011627 Mon Sep 17 00:00:00 2001 From: Ajay Date: Sun, 28 May 2023 15:51:44 -0400 Subject: [PATCH] Add waiting for when preview bar detects incorrect number of chapters --- src/content.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content.ts b/src/content.ts index 05957c0c..87ad2fba 100644 --- a/src/content.ts +++ b/src/content.ts @@ -498,7 +498,7 @@ function createPreviewBar(): void { if (el) { const chapterVote = new ChapterVote(voteAsync); - previewBar = new PreviewBar(el, isOnMobileYouTube(), isOnInvidious(), chapterVote, () => importExistingChapters(false)); + previewBar = new PreviewBar(el, isOnMobileYouTube(), isOnInvidious(), chapterVote, () => importExistingChapters(true)); updatePreviewBar();