From: Holger Jeromin Date: Sun, 26 Jan 2020 10:22:50 +0000 (+0100) Subject: fixing linting X-Git-Tag: live~2266^2~1 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/f9ab67577f765fc0ed85e4551872ef4d1b0a232c fixing linting --- diff --git a/app/assets/javascripts/index/directions.js b/app/assets/javascripts/index/directions.js index 5f822b472..b2888fd54 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; }