]> git.wh0rd.org Git - tt-rss.git/commitdiff
loadMoreHeadlines: use correct offsets for starred vfeed in adaptive mode
authorAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Tue, 27 Oct 2015 12:36:51 +0000 (15:36 +0300)
committerAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Tue, 27 Oct 2015 12:36:51 +0000 (15:36 +0300)
js/feedlist.js

index 617863ef88e73c0fb24b9e325f129d60e08b3228..d14d3e5ca16e4bd23d35af538e78d538fe6947e9 100644 (file)
@@ -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;