FIx a bug where touch scrolling on the map's filters popup would still be passed through to the map. Closes #72

This commit is contained in:
Ian Renton
2025-11-02 12:07:32 +00:00
parent fa92657d9c
commit 649b57a570

View File

@@ -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'));
});