do not schedule catchup batch request when infscroll request is in progress

This commit is contained in:
Andrew Dolgov 2011-08-04 15:53:07 +04:00
parent 7131797307
commit 956cca2a2a
1 changed files with 1 additions and 1 deletions

View File

@ -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);