X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/acfbc091982fbf74baeef7d16ff7d84f63c84951..efd50cd529990069dc1ca95f66ec6f61471fe29d:/app/assets/javascripts/index/history.js?ds=sidebyside diff --git a/app/assets/javascripts/index/history.js b/app/assets/javascripts/index/history.js index 6274c135f..38d0b249a 100644 --- a/app/assets/javascripts/index/history.js +++ b/app/assets/javascripts/index/history.js @@ -38,12 +38,12 @@ OSM.History = function(map) { }; function highlightChangeset(id) { - group.getLayer(id).setStyle({fillOpacity: 0.3}); + group.getLayer(id).setStyle({fillOpacity: 0.3, color: "#FF6600", weight: 3}); $("#changeset_" + id).addClass("selected"); } function unHighlightChangeset(id) { - group.getLayer(id).setStyle({fillOpacity: 0}); + group.getLayer(id).setStyle({fillOpacity: 0, color: "#FF9500", weight: 2}); $("#changeset_" + id).removeClass("selected"); } @@ -122,7 +122,7 @@ OSM.History = function(map) { for (var i = 0; i < changesets.length; ++i) { var changeset = changesets[i], rect = L.rectangle(changeset.bounds, - {weight: 2, color: "#FF9500", opacity: 1, fillColor: "#FFFFBF", fillOpacity: 0}); + {weight: 2, color: "#FF9500", opacity: 1, fillColor: "#FFFFAF", fillOpacity: 0}); rect.id = changeset.id; rect.addTo(group); }