summaryrefslogtreecommitdiff
path: root/read.html
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-07-01 14:19:05 +0300
committerAndrew Dolgov <[email protected]>2018-07-01 14:19:05 +0300
commitd18848092c91663911f1d3d145554815675c5096 (patch)
tree11e184d40124d964773d49873c2a622ac9b4de5a /read.html
parent4dcf31690be5bec51e429433f64ff02a3f474932 (diff)
for some reason epubjs jumps to wrong offset initially, add hack
Diffstat (limited to 'read.html')
-rw-r--r--read.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/read.html b/read.html
index 3898afb..b9d600d 100644
--- a/read.html
+++ b/read.html
@@ -692,8 +692,11 @@
open_lastread();
- $(".loading").hide();
+ window.setTimeout(function() {
+ open_lastread();
+ $(".loading").hide();
+ }, 250);
});
rendition.on("keyup", hotkey_handler);