1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-24 11:21:29 +00:00

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

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