further linting stuff

This commit is contained in:
Holger Jeromin 2020-01-26 11:26:58 +01:00 committed by GitHub
parent f9ab67577f
commit c094cc1933
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,
routeFrom = "",
routeTo = "";
if (from){
if (from) {
routeFrom = from.lat + "," + from.lng;
}
if (to){
if (to) {
routeTo = to.lat + "," + to.lng;
}