From c3e6059222e2df0179963fee851862dd19fd705a Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Wed, 16 Nov 2022 15:45:27 +0300 Subject: [PATCH] Pass original event instad of leaflet event to changeset bbox click simulation --- app/assets/javascripts/index/history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5