diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/feedlist.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/js/feedlist.js b/js/feedlist.js index 7f60194dc..7c2e08052 100644 --- a/js/feedlist.js +++ b/js/feedlist.js @@ -35,10 +35,7 @@ function loadMoreHeadlines() { } else if (_search_query) { offset = num_all; } else if (view_mode == "adaptive") { - if (num_unread > 0) - offset = unread_in_buffer; - else - offset = num_all; + offset = num_unread > 0 ? unread_in_buffer : num_all; } else { offset = num_all; } |