mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Fixes for page counting
This commit is contained in:
parent
8bfed1593c
commit
03e7ca085c
5 changed files with 28 additions and 24 deletions
|
@ -620,7 +620,7 @@ class Rendition {
|
|||
}
|
||||
|
||||
if (end.index === this.book.spine.last().index &&
|
||||
located.end.displayed.page === located.end.displayed.totalPages) {
|
||||
located.end.displayed.page >= located.end.displayed.totalPages) {
|
||||
located.atEnd = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue