diff --git a/webassets/js/map.js b/webassets/js/map.js index 564d8f2..2fd4f0f 100644 --- a/webassets/js/map.js +++ b/webassets/js/map.js @@ -249,6 +249,7 @@ $(document).ready(function() { setUpMap(); // Call loadOptions(), this will then trigger loading spots and setting up timers. loadOptions(); - // Prevent scrolling actions in the popup menus being passed through to the map + // Prevent mouse scroll and touch actions in the popup menus being passed through to the map L.DomEvent.disableScrollPropagation(document.getElementById('maptools')); + L.DomEvent.disableClickPropagation(document.getElementById('maptools')); }); \ No newline at end of file