mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 22:45:57 +00:00
unfuck catchupbatchedarticles a bit
This commit is contained in:
@@ -1320,16 +1320,11 @@ function headlines_scroll_handler(e) {
|
|||||||
if (catchup_id_batch.length > 0) {
|
if (catchup_id_batch.length > 0) {
|
||||||
window.clearTimeout(catchup_timeout_id);
|
window.clearTimeout(catchup_timeout_id);
|
||||||
|
|
||||||
if (!_infscroll_request_sent) {
|
catchup_timeout_id = window.setTimeout('catchupBatchedArticles()', 500);
|
||||||
if (catchup_id_batch.length < 10) {
|
|
||||||
catchup_timeout_id = window.setTimeout('catchupBatchedArticles()',
|
|
||||||
500);
|
|
||||||
} else {
|
|
||||||
catchupBatchedArticles();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
catchupBatchedArticles();
|
if (catchup_id_batch.length >= 10) {
|
||||||
|
catchupBatchedArticles();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_infscroll_disable) {
|
if (_infscroll_disable) {
|
||||||
|
|||||||
Reference in New Issue
Block a user