Fix page list progress

This commit is contained in:
John Factotum
2023-10-10 22:54:27 +08:00
parent 4f321563c7
commit 96d51e654a
+2 -1
View File
@@ -94,7 +94,8 @@ export class View extends HTMLElement {
this.#tocProgress = new TOCProgress()
await this.#tocProgress.init({
toc: book.toc ?? [], ids, splitHref, getFragment })
this.#pageProgress = new TOCProgress({
this.#pageProgress = new TOCProgress()
await this.#pageProgress.init({
toc: book.pageList ?? [], ids, splitHref, getFragment })
}