Fix hover for first chapter

This commit is contained in:
Ajay
2022-09-15 23:33:48 -04:00
parent b9ef35dbbe
commit 6381f36a90

View File

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