unHighlightChangeset(e.layer.id);
})
.on("click", function (e) {
- clickChangeset(e.layer.id, e);
+ clickChangeset(e.layer.id, e.originalEvent);
});
group.getLayerId = function (layer) {
}
page.pushstate = page.popstate = function (path) {
- $("#history_tab").addClass("current");
OSM.loadSidebarContent(path, page.load);
};
page.unload = function () {
map.removeLayer(group);
map.off("moveend", update);
-
- $("#history_tab").removeClass("current");
};
return page;