From: Anton Khorev Date: Wed, 16 Nov 2022 12:45:27 +0000 (+0300) Subject: Pass original event instad of leaflet event to changeset bbox click simulation X-Git-Tag: live~1479^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/c3e6059222e2df0179963fee851862dd19fd705a?ds=inline;hp=--cc Pass original event instad of leaflet event to changeset bbox click simulation --- c3e6059222e2df0179963fee851862dd19fd705a diff --git a/app/assets/javascripts/index/history.js b/app/assets/javascripts/index/history.js index 02b48f6a0..e8d912685 100644 --- a/app/assets/javascripts/index/history.js +++ b/app/assets/javascripts/index/history.js @@ -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) {