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

index 5f822b47268f4a7f946bc9b26d362d85fe31f41d..b2888fd548c71fb7463621009800311325114ea1 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;
     }