]> git.openstreetmap.org Git - rails.git/commitdiff
further linting stuff
authorHolger Jeromin <mailgithub@katur.de>
Sun, 26 Jan 2020 10:26:58 +0000 (11:26 +0100)
committerGitHub <noreply@github.com>
Sun, 26 Jan 2020 10:26:58 +0000 (11:26 +0100)
app/assets/javascripts/index/directions.js

index b2888fd548c71fb7463621009800311325114ea1..1c095a36b2d51450708d03f51653f04bb3718554 100644 (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;
     }