From e5d9b16235b26ee0959e9d17969c28087c49c58f Mon Sep 17 00:00:00 2001 From: Ajay Date: Fri, 16 Sep 2022 20:46:27 -0400 Subject: [PATCH] unhide chapter bar in fallback case --- src/js-components/previewBar.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js-components/previewBar.ts b/src/js-components/previewBar.ts index 308e066f..a9d09e8a 100644 --- a/src/js-components/previewBar.ts +++ b/src/js-components/previewBar.ts @@ -308,6 +308,7 @@ class PreviewBar { createChaptersBar(segments: PreviewBarSegment[]): void { if (!this.progressBar || !this.originalChapterBar || this.originalChapterBar.childElementCount <= 0) { if (this.customChaptersBar) this.customChaptersBar.style.display = "none"; + if (this.originalChapterBar) this.originalChapterBar.style.removeProperty("display"); return; }