]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/history.js
Restore click handler for changeset entries
[rails.git] / app / assets / javascripts / index / history.js
index cb2ef6d0c34ae2946db88782cb8312970f4dfcc2..4a2b96be4066bfd0e62dd145162b23242dd240c4 100644 (file)
@@ -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()