]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/history.js
Pass original event instad of leaflet event to changeset bbox click simulation
[rails.git] / app / assets / javascripts / index / history.js
index 02b48f6a0ad618e8622ed896708851c179660109..e8d912685f0aae2b73808ed2b339947043838ccf 100644 (file)
@@ -20,7 +20,7 @@ OSM.History = function (map) {
       unHighlightChangeset(e.layer.id);
     })
     .on("click", function (e) {
-      clickChangeset(e.layer.id, e);
+      clickChangeset(e.layer.id, e.originalEvent);
     });
 
   group.getLayerId = function (layer) {