diff options
author | Andrew Dolgov <[email protected]> | 2011-08-04 15:53:07 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-08-04 15:53:07 +0400 |
commit | 956cca2a2a057e2a835118490434b49cca3f6c53 (patch) | |
tree | 8b410ebaf8a7f46c83c0468d524ee694731f50b2 /viewfeed.js | |
parent | 7131797307c2a6f7c57920dee6f21881d3373e98 (diff) |
do not schedule catchup batch request when infscroll request is in progress
Diffstat (limited to 'viewfeed.js')
-rw-r--r-- | viewfeed.js | 2 |
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); |