summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-05-06 17:24:34 +0300
committerAndrew Dolgov <[email protected]>2020-05-06 17:24:34 +0300
commita2cf7386c0096deec0b62dab13117329711b4d99 (patch)
tree0f58d83a4c8d6106b8b33d2788c2bd0ec24d8047 /js
parent2f910e138f8f9ff68ad6a24977a6c90c8725b291 (diff)
openLastPage: hide splash after moving to locally stored cfi
Diffstat (limited to 'js')
-rw-r--r--js/reader.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/reader.js b/js/reader.js
index a2ee32e..5b03a8c 100644
--- a/js/reader.js
+++ b/js/reader.js
@@ -937,6 +937,8 @@ const Reader = {
// this is ridiculous tbh
if (item.cfi) book.rendition.display(item.cfi).then(() => {
+ $(".loading").hide();
+
book.rendition.display(item.cfi);
});