mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-10 05:27:03 +03:00
Add waiting for when preview bar detects incorrect number of chapters
This commit is contained in:
@@ -498,7 +498,7 @@ function createPreviewBar(): void {
|
|||||||
|
|
||||||
if (el) {
|
if (el) {
|
||||||
const chapterVote = new ChapterVote(voteAsync);
|
const chapterVote = new ChapterVote(voteAsync);
|
||||||
previewBar = new PreviewBar(el, isOnMobileYouTube(), isOnInvidious(), chapterVote, () => importExistingChapters(false));
|
previewBar = new PreviewBar(el, isOnMobileYouTube(), isOnInvidious(), chapterVote, () => importExistingChapters(true));
|
||||||
|
|
||||||
updatePreviewBar();
|
updatePreviewBar();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user