summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-08-04 16:53:32 +0400
committerAndrew Dolgov <[email protected]>2011-08-04 16:53:32 +0400
commit21c92cdc9b2d2a30a216155990cae2a665403303 (patch)
tree084b2e18dd58c0b1f700503c6e4cbc9f0f24f703 /viewfeed.js
parentb9d54789bad5d81c691a73f81e78d5700966589c (diff)
do not perform 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 3522284da..3a21323da 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -1389,7 +1389,7 @@ function headlines_scroll_handler(e) {
function catchupBatchedArticles() {
try {
- if (catchup_id_batch.length > 0) {
+ if (catchup_id_batch.length > 0 && !_infscroll_request_sent) {
var query = "?op=rpc&subop=catchupSelected" +
"&cmode=0&ids=" + param_escape(catchup_id_batch.toString());