diff options
author | Andrew Dolgov <[email protected]> | 2017-08-01 20:27:06 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-08-01 20:27:06 +0300 |
commit | b51c255f7d7ab3e7dae55039e2e70d4926f263bd (patch) | |
tree | 8c5fc848aa620717f1fcfd63d47ebde6909b8a46 /read.html | |
parent | 94f002e9cc28d677b004d42b9fcec818dd07f64f (diff) |
startup: only go to remove cfi if different from local
Diffstat (limited to 'read.html')
-rw-r--r-- | read.html | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -666,7 +666,7 @@ localforage.setItem(cacheId("lastread"), {cfi: data.cfi, page: data.page, total: data.total}); - if (data.cfi) book.gotoCfi(data.cfi); + if (data.cfi && item.cfi != data.cfi) book.gotoCfi(data.cfi); } }); } |