From: Andrew Dolgov Date: Tue, 27 Oct 2015 12:36:51 +0000 (+0300) Subject: loadMoreHeadlines: use correct offsets for starred vfeed in adaptive mode X-Git-Tag: 16.3~100 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d38cd41253aa2281c0f912e53c468bd51d167651;p=tt-rss.git loadMoreHeadlines: use correct offsets for starred vfeed in adaptive mode --- diff --git a/js/feedlist.js b/js/feedlist.js index 617863ef..d14d3e5c 100644 --- a/js/feedlist.js +++ b/js/feedlist.js @@ -35,7 +35,8 @@ function loadMoreHeadlines() { offset = unread_in_buffer; } else if (_search_query) { offset = num_all; - } else if (view_mode == "adaptive") { + } else if (view_mode == "adaptive" && !(getActiveFeedId() == -1 && !activeFeedIsCat())) { + // ^ starred feed shows both unread & read articles in adaptive mode offset = num_unread > 0 ? unread_in_buffer : num_all; } else { offset = num_all;