]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/directions.js
further linting stuff
[rails.git] / app / assets / javascripts / index / directions.js
index 5f822b47268f4a7f946bc9b26d362d85fe31f41d..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;
     }