diff options
author | Andrew Dolgov <[email protected]> | 2018-07-01 15:20:09 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-07-01 15:20:09 +0300 |
commit | d80e7a5c5ecbef3836bfdb871acc867bc3d7054e (patch) | |
tree | fc6ace99d3f0956b9ad7075cef275be0d2d5cab7 | |
parent | 3625b63499f529cc51b9f6ccb7e49c398371289b (diff) |
fix minspreadwidth
-rw-r--r-- | read.html | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -394,14 +394,16 @@ } }); - var book = ePub({ - restore: false, - minSpreadWidth: 961, - }); + var book = ePub(); window.book = book; - var rendition = book.renderTo("reader", {width: '100%', height: '100%'}); + var rendition = book.renderTo("reader", { + width: '100%', + height: '100%', + minSpreadWidth: 961 + }); + var displayed = rendition.display(); var fontSize; |