diff options
author | Andrew Dolgov <[email protected]> | 2018-07-02 08:03:15 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-07-02 08:03:15 +0300 |
commit | a42f5887aee2560cec360845e89fe66092ec352b (patch) | |
tree | 17d387cecb7ec525188f84baca482c57e40ee202 /js/read.js | |
parent | 35314ef1f24b4a99c0e46769bafde8133b034d85 (diff) |
storelastread: allow page == 0 since its a % now
Diffstat (limited to 'js/read.js')
-rw-r--r-- | js/read.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ function open_lastread() { {cfi: data.cfi, page: data.page, total: data.total}); try { - if (item.cfi != data.cfi && (!item.page || data.page > item.page)) + if (item.cfi != data.cfi && (!item.page || data.page >= item.page)) book.rendition.display(data.cfi); } catch (e) { console.warn(e); |