fixing linting

This commit is contained in:
Holger Jeromin 2020-01-26 11:22:50 +01:00 committed by GitHub
parent a32f4c231e
commit f9ab67577f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -145,10 +145,10 @@ OSM.Directions = function (map) {
to = endpoints[1].latlng, to = endpoints[1].latlng,
routeFrom = "", routeFrom = "",
routeTo = ""; routeTo = "";
if(from){ if (from){
routeFrom = from.lat + "," + from.lng; routeFrom = from.lat + "," + from.lng;
} }
if(to){ if (to){
routeTo = to.lat + "," + to.lng; routeTo = to.lat + "," + to.lng;
} }