diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/static/js/map-refresh.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/static/js/map-refresh.js b/public/static/js/map-refresh.js index 1d8453a..c54f428 100644 --- a/public/static/js/map-refresh.js +++ b/public/static/js/map-refresh.js @@ -69,7 +69,7 @@ function dbf_anim_fine() { function dbf_map_reload() { const param = new URLSearchParams(window.location.search); - $.get('/_ajax_mapinfo/' + j_reqid + '?efa=' + param.get('efa') + '&hafas=' + param.get('hafas'), function(data) { + $.get('/_ajax_mapinfo/' + j_reqid + '?efa=' + (param.get('efa') || '') + '&hafas=' + (param.get('hafas') || ''), function(data) { $('#infobox').html(data); dbf_map_parse(); setTimeout(dbf_map_reload, 61000); |