mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Always run check again after display of new views
This commit is contained in:
parent
20f5ea5372
commit
915ab2e107
1 changed files with 1 additions and 3 deletions
|
@ -289,9 +289,7 @@ class ContinuousViewManager extends DefaultViewManager {
|
|||
if(newViews.length){
|
||||
return Promise.all(promises)
|
||||
.then(() => {
|
||||
if (this.layout.name === "pre-paginated" && this.layout.props.spread) {
|
||||
return this.check();
|
||||
}
|
||||
return this.check();
|
||||
})
|
||||
.then(() => {
|
||||
// Check to see if anything new is on screen after rendering
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue