1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-03 14:59:18 +02:00

Content resize (#605)

Wait after formatting, listen for resize events from `Contents`
This commit is contained in:
Fred Chasen 2017-04-24 17:08:53 -04:00 committed by GitHub
parent 32672359f5
commit 573ed8e18b
3 changed files with 21 additions and 12 deletions

View file

@ -613,6 +613,7 @@ class Rendition {
"page-break-inside": "avoid"
}
});
return new Promise(function(resolve, reject){
// Wait to apply
setTimeout(function() {