summaryrefslogtreecommitdiff
path: root/public/static/js/geotrain.js
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-04-04 08:46:03 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-04-04 08:46:03 +0200
commit165d74936a1a16c11ed7da4b80f046634347f30d (patch)
tree19778845a67be922d2628a2ae77e8e17d095237b /public/static/js/geotrain.js
parent1124fe508ea56eb28236d0bc10912504c834a455 (diff)
geostop, geotrain: handle network errors3.12.2
Diffstat (limited to 'public/static/js/geotrain.js')
-rw-r--r--public/static/js/geotrain.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/static/js/geotrain.js b/public/static/js/geotrain.js
index 3e0eec5..9df546b 100644
--- a/public/static/js/geotrain.js
+++ b/public/static/js/geotrain.js
@@ -61,7 +61,7 @@ $(function() {
var processLocation = function(loc) {
$.get('https://dbf.finalrewind.org/__geotrain/search', {lon: loc.coords.longitude, lat: loc.coords.latitude}, processResult).fail(function(jqXHR, textStatus, errorThrown) {
removeStatus();
- showError("Fehler im Zuglokalisierungs-Backend: ", textStatus, errorThrown);
+ showError("Netzwerkfehler: ", textStatus, errorThrown);
});
$('div.candidatestatus').text('Suche Züge…');
};