mirror of
https://github.com/john-okeefe/foliate-js.git
synced 2026-09-09 11:29:14 -04:00
Fix page list progress
This commit is contained in:
@@ -94,7 +94,8 @@ export class View extends HTMLElement {
|
|||||||
this.#tocProgress = new TOCProgress()
|
this.#tocProgress = new TOCProgress()
|
||||||
await this.#tocProgress.init({
|
await this.#tocProgress.init({
|
||||||
toc: book.toc ?? [], ids, splitHref, getFragment })
|
toc: book.toc ?? [], ids, splitHref, getFragment })
|
||||||
this.#pageProgress = new TOCProgress({
|
this.#pageProgress = new TOCProgress()
|
||||||
|
await this.#pageProgress.init({
|
||||||
toc: book.pageList ?? [], ids, splitHref, getFragment })
|
toc: book.pageList ?? [], ids, splitHref, getFragment })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user