]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/directions.js
Use bootstrap table striping to replace hand-cycled table stripes
[rails.git] / 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;
     }