mirror of
https://github.com/john-okeefe/foliate-js.git
synced 2026-10-21 22:49:51 -04:00
Fix page list progress
This commit is contained in:
1 parent
4f321563c7
commit
96d51e654a
1 file changed
+2
-1
@@ -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 })
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user