mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
Fix for issues:
https://github.com/futurepress/epub.js/issues/534 https://github.com/futurepress/epub.js/issues/528
This commit is contained in:
parent
d6eeb2a458
commit
dff2b040a0
2 changed files with 2 additions and 5 deletions
|
@ -282,15 +282,12 @@ class DefaultViewManager {
|
|||
this.scrollBy(this.layout.delta, 0);
|
||||
} else if (left - this.layout.columnWidth === this.container.scrollWidth) {
|
||||
this.scrollTo(this.container.scrollWidth - this.layout.delta, 0);
|
||||
next = this.views.last().section.next();
|
||||
} else {
|
||||
next = this.views.last().section.next();
|
||||
}
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
next = this.views.last().section.next();
|
||||
|
||||
}
|
||||
|
||||
if(next) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue