diff options
Diffstat (limited to 'js/offline.js')
-rw-r--r-- | js/offline.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/offline.js b/js/offline.js index 7815b83..8846e8a 100644 --- a/js/offline.js +++ b/js/offline.js @@ -32,7 +32,7 @@ function populate_list() { if (lastread) { in_progress = lastread.page > 0; - is_read = lastread.total - lastread.page < 5; + is_read = lastread.total > 0 && lastread.total - lastread.page < 5; } var cell = "<div class='col-xs-6 col-sm-3 col-md-2 index_cell'>"; |