summaryrefslogtreecommitdiff
path: root/offline.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-02-15 23:50:10 +0300
committerAndrew Dolgov <[email protected]>2009-02-15 23:50:10 +0300
commitc16694c84810e1a59da1a411e5c5aa385932f47d (patch)
tree6ecf724c4babda5cf1555ea712645f8ae4f86cd7 /offline.js
parent673b99ca459f478a5f880843f1fb08f16a643163 (diff)
offline: fix infinite loop in sync
Diffstat (limited to 'offline.js')
-rw-r--r--offline.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/offline.js b/offline.js
index 7b7113168..a509cebb0 100644
--- a/offline.js
+++ b/offline.js
@@ -841,7 +841,7 @@ function offline_download_parse(stage, transport) {
function update_offline_data(stage) {
try {
- if (stage) stage = 0;
+ if (!stage) stage = 0;
if (!db || offline_mode || getInitParam("offline_enabled") != "1") return;