summaryrefslogtreecommitdiff
path: root/js/feedlist.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-07-12 01:29:36 +0300
committerAndrew Dolgov <[email protected]>2015-07-12 01:29:36 +0300
commitf5a0fb8b64c57e98fcf73369cb4dbb1b31620fd7 (patch)
treef6b45118a07f3899997beba7848d522140edc44a /js/feedlist.js
parent5f297a5c111e3abecd143b6412a753ea870e4f20 (diff)
queryFeedHeadlines: move to array-based arguments, optionally check if first element changed when paginating
Diffstat (limited to 'js/feedlist.js')
-rw-r--r--js/feedlist.js4
1 files changed, 4 insertions, 0 deletions
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;