Changeset border turns blue on hover

This commit is contained in:
J Guthrie 2018-10-02 23:39:27 +01:00
parent c77429000c
commit aae0d3b7b5

View file

@ -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: "#0095AA"});
$("#changeset_" + id).addClass("selected");
}
function unHighlightChangeset(id) {
group.getLayer(id).setStyle({fillOpacity: 0});
group.getLayer(id).setStyle({fillOpacity: 0, color: "#FF9500"});
$("#changeset_" + id).removeClass("selected");
}