summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/functions.js b/functions.js
index 8355deb04..24230f57e 100644
--- a/functions.js
+++ b/functions.js
@@ -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;