X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/06cece27fe691e321cf42a03e3ec08c464ac1444..08359d8d5f61ce3a9648b9fd2023748078e9c2e6:/app/assets/javascripts/index/directions-endpoint.js?ds=sidebyside diff --git a/app/assets/javascripts/index/directions-endpoint.js b/app/assets/javascripts/index/directions-endpoint.js index 30d499ad7..3fdae7c54 100644 --- a/app/assets/javascripts/index/directions-endpoint.js +++ b/app/assets/javascripts/index/directions-endpoint.js @@ -108,6 +108,7 @@ OSM.DirectionsEndpoint = function Endpoint(map, input, iconUrl, dragCallback, ch delete endpoint.geocodeRequest; if (json.length === 0) { input.addClass("is-invalid"); + // eslint-disable-next-line no-alert alert(I18n.t("javascripts.directions.errors.no_place", { place: endpoint.value })); return; }