diff options
author | Andrew Dolgov <[email protected]> | 2018-07-01 14:19:05 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-07-01 14:19:05 +0300 |
commit | d18848092c91663911f1d3d145554815675c5096 (patch) | |
tree | 11e184d40124d964773d49873c2a622ac9b4de5a /read.html | |
parent | 4dcf31690be5bec51e429433f64ff02a3f474932 (diff) |
for some reason epubjs jumps to wrong offset initially, add hack
Diffstat (limited to 'read.html')
-rw-r--r-- | read.html | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -692,8 +692,11 @@ open_lastread(); - $(".loading").hide(); + window.setTimeout(function() { + open_lastread(); + $(".loading").hide(); + }, 250); }); rendition.on("keyup", hotkey_handler); |