mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
Check if view is rendering before displaying, proper check promises
This commit is contained in:
parent
6785addc75
commit
812be32e71
8 changed files with 106 additions and 72 deletions
|
@ -126,7 +126,7 @@
|
|||
height: 600
|
||||
});
|
||||
|
||||
var displayed = rendition.display();
|
||||
var displayed = rendition.display(6);
|
||||
|
||||
|
||||
displayed.then(function(renderer){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue