1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 23:05:55 +00:00

unfuck catchupbatchedarticles a bit

This commit is contained in:
Andrew Dolgov
2015-08-11 10:12:22 +03:00
parent 8292123ebc
commit b71add41d5

View File

@@ -1320,17 +1320,12 @@ function headlines_scroll_handler(e) {
if (catchup_id_batch.length > 0) {
window.clearTimeout(catchup_timeout_id);
if (!_infscroll_request_sent) {
if (catchup_id_batch.length < 10) {
catchup_timeout_id = window.setTimeout('catchupBatchedArticles()',
500);
} else {
catchupBatchedArticles();
}
}
catchup_timeout_id = window.setTimeout('catchupBatchedArticles()', 500);
if (catchup_id_batch.length >= 10) {
catchupBatchedArticles();
}
}
if (_infscroll_disable) {
var child = $$("#headlines-frame div[id*=RROW]").last();