summaryrefslogtreecommitdiff
path: root/public/static/js/collapse.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/static/js/collapse.js')
-rw-r--r--public/static/js/collapse.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/public/static/js/collapse.js b/public/static/js/collapse.js
index 79c809f..59d42b2 100644
--- a/public/static/js/collapse.js
+++ b/public/static/js/collapse.js
@@ -21,8 +21,10 @@ function dbf_reg_handlers() {
$('.moreinfo .train-no').text(trainElem.data('no'));
$('.moreinfo .train-origin').text(trainElem.data('from'));
$('.moreinfo .train-dest').text(trainElem.data('to'));
+ if ($('.moreinfo .loading').length == 0) {
+ $('.moreinfo .mheader').append('<div class="loading">Lade Daten, bitte warten...</div>');
+ }
$('.moreinfo .minfo').text('');
- $('.moreinfo .mheader').append('<div style="text-align: center; width: 100%; color: #888888;">Lade Daten, bitte warten...</div>');
$('.moreinfo .mfooter').html('');
$('.moreinfo .verbose').html('');
$('.moreinfo .mroute').html('');