From 68541a181d2b823f07a9e906e213b2175c2716e9 Mon Sep 17 00:00:00 2001 From: eetnaviation Date: Fri, 10 May 2024 09:14:30 +0300 Subject: [PATCH] Last commit broke searching. REVERTED! --- client/index.html | 6 ------ 1 file changed, 6 deletions(-) diff --git a/client/index.html b/client/index.html index 690ee80..d0ee5b3 100644 --- a/client/index.html +++ b/client/index.html @@ -58,12 +58,6 @@ map.addLayer(mapnik); map.setCenter(position, zoom); - - map.getInteractions().forEach(function(interaction) { - if (interaction instanceof ol.interaction.MouseWheelZoom) { - interaction.setActive(false); - } - }, this); // Function to handle form submission document.getElementById('search-form').addEventListener('submit', function (event) {