mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
(experimental) disable infscroll requests while marking auto catched up articles as read
This commit is contained in:
@@ -1384,6 +1384,8 @@ function catchupBatchedArticles() {
|
||||
reply = JSON.parse(transport.responseText);
|
||||
var batch = reply.ids;
|
||||
|
||||
_infscroll_tmp_disable = 1;
|
||||
|
||||
batch.each(function(id) {
|
||||
console.log(id);
|
||||
var elem = $("RROW-" + id);
|
||||
@@ -1391,6 +1393,8 @@ function catchupBatchedArticles() {
|
||||
catchup_id_batch.remove(id);
|
||||
});
|
||||
|
||||
_infscroll_tmp_disable = 0;
|
||||
|
||||
updateFloatingTitle(true);
|
||||
|
||||
} });
|
||||
|
||||
Reference in New Issue
Block a user