]> git.wh0rd.org - tt-rss.git/blobdiff - functions.js
offline: add progress indicator; tweak download intervals and amount of articles
[tt-rss.git] / functions.js
index 8355deb04bcaa374828c784d7537aad8f6b6a6a6..24230f57ed6fb94cc9c1262f67c0fefbb2aae041 100644 (file)
@@ -460,9 +460,7 @@ function parse_counters(reply, scheduled_call) {
                        if (id == "global-unread") {
 
                                if (ctr > global_unread) {
-                                       if (db && getInitParam("offline_enabled") == "1") {
-                                       window.setTimeout("update_offline_data(0)", 100);
-                                       }
+                                       offlineDownloadStart();
                                }
 
                                global_unread = ctr;