do not perform catchup batch request when infscroll request is in progress
This commit is contained in:
parent
b9d54789ba
commit
21c92cdc9b
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue