X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6d511fbd34f5e9b63d5dd1594e50856fe22c36bf..b2f2188e9d1d96c9a1395bd2204e437fb1040268:/app/assets/javascripts/index/directions.js diff --git a/app/assets/javascripts/index/directions.js b/app/assets/javascripts/index/directions.js index a5f3b0080..a141045a3 100644 --- a/app/assets/javascripts/index/directions.js +++ b/app/assets/javascripts/index/directions.js @@ -189,7 +189,7 @@ OSM.Directions = function (map) { map.removeLayer(polyline); if (!dragging) { - alert(I18n.t('javascripts.directions.errors.no_route')); + $('#sidebar_content').html('
' + I18n.t('javascripts.directions.errors.no_route') + '
'); } return;