Restore click handler for changeset entries
The default click handler only handle the, not the rest of the entry, so retore the handler but add an e.preventDefault() call to stop the second handler running.
This commit is contained in:
parent
9e25f5563d
commit
be931d0955
1 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,10 @@ OSM.History = function(map) {
|
|||
})
|
||||
.on("mouseout", "[data-changeset]", function () {
|
||||
unHighlightChangeset($(this).data("changeset").id);
|
||||
})
|
||||
.on("click", "[data-changeset]", function (e) {
|
||||
e.preventDefault();
|
||||
clickChangeset($(this).data("changeset").id);
|
||||
});
|
||||
|
||||
var group = L.featureGroup()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue