From c094cc193346d2e174d35517c2b38c96e6614457 Mon Sep 17 00:00:00 2001 From: Holger Jeromin Date: Sun, 26 Jan 2020 11:26:58 +0100 Subject: [PATCH] further linting stuff --- 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 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; } -- 2.43.2