From d38cd41253aa2281c0f912e53c468bd51d167651 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 27 Oct 2015 15:36:51 +0300 Subject: [PATCH] loadMoreHeadlines: use correct offsets for starred vfeed in adaptive mode --- js/feedlist.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.5