1
0
Fork 0
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:
Fred Chasen 2020-05-14 22:09:08 -07:00
parent 20f5ea5372
commit 915ab2e107

View file

@ -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();
}
})
.then(() => {
// Check to see if anything new is on screen after rendering