Add waiting for when preview bar detects incorrect number of chapters

This commit is contained in:
Ajay 2023-05-28 15:51:44 -04:00
parent 932ed34947
commit ff3d8ff2d6

View file

@ -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();