summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-08-04 15:53:07 +0400
committerAndrew Dolgov <[email protected]>2011-08-04 15:53:07 +0400
commit956cca2a2a057e2a835118490434b49cca3f6c53 (patch)
tree8b410ebaf8a7f46c83c0468d524ee694731f50b2 /viewfeed.js
parent7131797307c2a6f7c57920dee6f21881d3373e98 (diff)
do not schedule catchup batch request when infscroll request is in progress
Diffstat (limited to 'viewfeed.js')
-rw-r--r--viewfeed.js2
1 files changed, 1 insertions, 1 deletions
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);