mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-08 20:47:11 +03:00
Fix hover for first chapter
This commit is contained in:
@@ -367,6 +367,8 @@ class PreviewBar {
|
|||||||
|
|
||||||
this.firstTimeSetupChapterSection(newSection);
|
this.firstTimeSetupChapterSection(newSection);
|
||||||
this.customChaptersBar.appendChild(newSection);
|
this.customChaptersBar.appendChild(newSection);
|
||||||
|
} else if (createFromScratch) {
|
||||||
|
this.firstTimeSetupChapterSection(newSection);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.setupChapterSection(newSection, chapter[0], chapter[1], i !== chaptersToRender.length - 1);
|
this.setupChapterSection(newSection, chapter[0], chapter[1], i !== chaptersToRender.length - 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user