From f5a0fb8b64c57e98fcf73369cb4dbb1b31620fd7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 12 Jul 2015 01:29:36 +0300 Subject: queryFeedHeadlines: move to array-based arguments, optionally check if first element changed when paginating --- js/feedlist.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'js/feedlist.js') diff --git a/js/feedlist.js b/js/feedlist.js index 7c2e08052..ffcecc7c4 100644 --- a/js/feedlist.js +++ b/js/feedlist.js @@ -99,6 +99,10 @@ function viewfeed(feed, method, is_cat, offset, background, infscroll_req, can_w query = query + "&m=" + param_escape(method); } + if (current_top_article_id && offset > 0) { + query = query + "&topid=" + param_escape(current_top_article_id); + } + if (!background) { if (_search_query) { force_nocache = true; -- cgit v1.2.3-54-g00ecf