mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:05:55 +00:00
viewfeed: catchup batched articles before opening next feed
This commit is contained in:
@@ -145,9 +145,7 @@ function viewfeed(params) {
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
const timeout_ms = can_wait ? 250 : 0;
|
catchupBatchedArticles(() => {
|
||||||
_viewfeed_timeout = setTimeout(() => {
|
|
||||||
|
|
||||||
xhrPost("backend.php", query, (transport) => {
|
xhrPost("backend.php", query, (transport) => {
|
||||||
try {
|
try {
|
||||||
setFeedExpandoIcon(feed, is_cat, 'images/blank_icon.gif');
|
setFeedExpandoIcon(feed, is_cat, 'images/blank_icon.gif');
|
||||||
@@ -157,9 +155,7 @@ function viewfeed(params) {
|
|||||||
exception_error(e);
|
exception_error(e);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
});
|
||||||
}, timeout_ms); // Wait 250ms
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function feedlist_init() {
|
function feedlist_init() {
|
||||||
|
|||||||
Reference in New Issue
Block a user