1
0
Fork 0
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:
Fred Chasen 2017-08-09 17:19:02 -04:00
parent 8bfed1593c
commit 03e7ca085c
5 changed files with 28 additions and 24 deletions

View file

@ -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;
}