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

This commit is contained in:
Andrew Dolgov 2011-08-04 16:53:32 +04:00
parent b9d54789ba
commit 21c92cdc9b
1 changed files with 1 additions and 1 deletions

View File

@ -1389,7 +1389,7 @@ function headlines_scroll_handler(e) {
function catchupBatchedArticles() { function catchupBatchedArticles() {
try { try {
if (catchup_id_batch.length > 0) { if (catchup_id_batch.length > 0 && !_infscroll_request_sent) {
var query = "?op=rpc&subop=catchupSelected" + var query = "?op=rpc&subop=catchupSelected" +
"&cmode=0&ids=" + param_escape(catchup_id_batch.toString()); "&cmode=0&ids=" + param_escape(catchup_id_batch.toString());