From f9ab67577f765fc0ed85e4551872ef4d1b0a232c Mon Sep 17 00:00:00 2001 From: Holger Jeromin Date: Sun, 26 Jan 2020 11:22:50 +0100 Subject: [PATCH] fixing linting --- app/assets/javascripts/index/directions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5