From: Holger Jeromin Date: Sun, 26 Jan 2020 10:26:58 +0000 (+0100) Subject: further linting stuff X-Git-Tag: live~2261^2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/c094cc193346d2e174d35517c2b38c96e6614457 further linting stuff --- diff --git a/app/assets/javascripts/index/directions.js b/app/assets/javascripts/index/directions.js index b2888fd54..1c095a36b 100644 --- a/app/assets/javascripts/index/directions.js +++ b/app/assets/javascripts/index/directions.js @@ -145,10 +145,10 @@ OSM.Directions = function (map) { to = endpoints[1].latlng, routeFrom = "", routeTo = ""; - if (from){ + if (from) { routeFrom = from.lat + "," + from.lng; } - if (to){ + if (to) { routeTo = to.lat + "," + to.lng; }