summaryrefslogtreecommitdiff
path: root/js/reader.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/reader.js')
-rw-r--r--js/reader.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reader.js b/js/reader.js
index 047ad1a..abaea82 100644
--- a/js/reader.js
+++ b/js/reader.js
@@ -237,6 +237,7 @@ const Reader = {
const rendition = book.renderTo("reader", {
width: '100%',
height: '100%',
+ allowScriptedContent: true,
minSpreadWidth: 961
});
@@ -614,7 +615,6 @@ const Reader = {
});
book.ready.then(function() {
-
return localforage.getItem(Reader.cacheId()).then((bookinfo) => {
let title;