]> git.wh0rd.org - tt-rss.git/blobdiff - js/viewfeed.js
(experimental) disable infscroll requests while marking auto catched up articles...
[tt-rss.git] / js / viewfeed.js
index 56b15116fd6fb74a80d38686eb52bc0641c83f43..e1425a3820fd056e0e8f834d78ace9a74015617d 100644 (file)
@@ -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);
 
                                } });