From 21c92cdc9b2d2a30a216155990cae2a665403303 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 4 Aug 2011 16:53:32 +0400 Subject: [PATCH] do not perform catchup batch request when infscroll request is in progress --- viewfeed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viewfeed.js b/viewfeed.js index 3522284d..3a21323d 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -1389,7 +1389,7 @@ function headlines_scroll_handler(e) { function catchupBatchedArticles() { try { - if (catchup_id_batch.length > 0) { + if (catchup_id_batch.length > 0 && !_infscroll_request_sent) { var query = "?op=rpc&subop=catchupSelected" + "&cmode=0&ids=" + param_escape(catchup_id_batch.toString()); -- 2.39.5