Drop click handler for changeset entries in the history sidebar
The default click handler in index.js handles them fine, and as this one was not calling preventDefault both were actually firing in some browsers, causing the changeset to be loaded twice and two history entries to be created.
This commit is contained in:
parent
f42af6d47e
commit
9e25f5563d
1 changed files with 0 additions and 3 deletions
|
@ -8,9 +8,6 @@ OSM.History = function(map) {
|
|||
})
|
||||
.on("mouseout", "[data-changeset]", function () {
|
||||
unHighlightChangeset($(this).data("changeset").id);
|
||||
})
|
||||
.on("click", "[data-changeset]", function () {
|
||||
clickChangeset($(this).data("changeset").id);
|
||||
});
|
||||
|
||||
var group = L.featureGroup()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue