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.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/public/static/js/collapse.js b/public/static/js/collapse.js
index a94b227..4e70c7e 100644
--- a/public/static/js/collapse.js
+++ b/public/static/js/collapse.js
@@ -96,7 +96,8 @@ function dbf_show_moreinfo(trainElem, keep_old) {
$.get(window.location.href, {train: trainElem.data('train'), jid: trainElem.data('jid'), ajax: 1}, function(data) {
$('.moreinfo').html(data);
}).fail(function() {
- $('.moreinfo .mfooter').append('Der Zug ist abgefahren (Zug nicht gefunden)');
+ $('.moreinfo .mfooter').append('Keine weiteren Details verfügbar');
+ $('.moreinfo .loading').remove();
});
infoElem.removeClass('collapsed-moreinfo');
infoElem.addClass('expanded-moreinfo');