summaryrefslogtreecommitdiff
path: root/js/reader.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/reader.js')
-rw-r--r--js/reader.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/reader.js b/js/reader.js
index 1244899..923a000 100644
--- a/js/reader.js
+++ b/js/reader.js
@@ -985,6 +985,9 @@ const Reader = {
localforage.setItem(Reader.cacheId("lastread"),
{cfi: "", page: 0, total: total});
+ window.setTimeout(function() {
+ window.book.rendition.display(window.book.locations.cfiFromPercentage(0));
+ }, 250);
}
},
openLastRead: function(local_only) {