X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9e25f5563d87fd6bce5b1679790d6d9c9e34e875..be931d0955fbd2379b1ffedb9abd32b1e8cb5915:/app/assets/javascripts/index/history.js diff --git a/app/assets/javascripts/index/history.js b/app/assets/javascripts/index/history.js index cb2ef6d0c..4a2b96be4 100644 --- a/app/assets/javascripts/index/history.js +++ b/app/assets/javascripts/index/history.js @@ -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()