From 956cca2a2a057e2a835118490434b49cca3f6c53 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 4 Aug 2011 15:53:07 +0400 Subject: do not schedule 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 df96f9d12..3522284da 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -1375,7 +1375,7 @@ function headlines_scroll_handler(e) { } }); - if (catchup_id_batch.length > 0) { + if (catchup_id_batch.length > 0 && !_infscroll_request_sent) { window.clearTimeout(catchup_timeout_id); catchup_timeout_id = window.setTimeout('catchupBatchedArticles()', 1000); -- cgit v1.2.3