summaryrefslogtreecommitdiff
path: root/public/static/js/travelynx-actions.js
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-05-09 18:14:16 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2019-05-09 18:14:16 +0200
commit374da8718236a3a1ad624ffbd63813b9cc8fd9fb (patch)
tree9f0140c4c14b7e63f6df519e64b5b33102b0deae /public/static/js/travelynx-actions.js
parent66a35a35ebd8efdd722597e6986cb431b3f629c0 (diff)
hide status countdown when offline1.1.10
Diffstat (limited to 'public/static/js/travelynx-actions.js')
-rw-r--r--public/static/js/travelynx-actions.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/public/static/js/travelynx-actions.js b/public/static/js/travelynx-actions.js
index 7d91dbd..d3e2a7d 100644
--- a/public/static/js/travelynx-actions.js
+++ b/public/static/js/travelynx-actions.js
@@ -24,6 +24,7 @@ function tvly_update() {
setTimeout(tvly_update, 20000);
}).fail(function() {
$('.sync-failed-marker').css('display', 'block');
+ $('.countdown').html('&nbsp;');
setTimeout(tvly_update, 5000);
});
}
@@ -37,6 +38,7 @@ function tvly_update_public() {
setTimeout(tvly_update_public, 20000);
}).fail(function() {
$('.sync-failed-marker').css('display', 'block');
+ $('.countdown').html('&nbsp;');
setTimeout(tvly_update_public, 5000);
});
}