]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/history.js
Use bootstrap table striping to replace hand-cycled table stripes
[rails.git] / app / assets / javascripts / index / history.js
index fe64c295999792d91f19b5cf28ae4a6b54a987ca..ddb454c13155e770bc4110e8b028d3a054fe13dd 100644 (file)
@@ -41,13 +41,13 @@ OSM.History = function (map) {
 
   function highlightChangeset(id) {
     var layer = group.getLayer(id);
-    if ( layer ) layer.setStyle({ fillOpacity: 0.3, color: "#FF6600", weight: 3 });
+    if (layer) layer.setStyle({ fillOpacity: 0.3, color: "#FF6600", weight: 3 });
     $("#changeset_" + id).addClass("selected");
   }
 
   function unHighlightChangeset(id) {
     var layer = group.getLayer(id);
-    if ( layer ) layer.setStyle({ fillOpacity: 0, color: "#FF9500", weight: 2 });
+    if (layer) layer.setStyle({ fillOpacity: 0, color: "#FF9500", weight: 2 });
     $("#changeset_" + id).removeClass("selected");
   }