diff --git a/html/includes/common/worldmap.inc.php b/html/includes/common/worldmap.inc.php
index 7ab55228cc..f6ba921a4c 100644
--- a/html/includes/common/worldmap.inc.php
+++ b/html/includes/common/worldmap.inc.php
@@ -64,6 +64,15 @@ foreach (dbFetchRows("SELECT `device_id`,`hostname`,`os`,`status`,`lat`,`lng` FR
}
$temp_output .= 'map.addLayer(markers);
+map.scrollWheelZoom.disable();
+$(document).ready(function(){
+ $("#leaflet-map").on("click", function(event) {
+ map.scrollWheelZoom.enable();
+ });
+ $("#leaflet-map").mouseleave(function(event) {
+ map.scrollWheelZoom.disable();
+ });
+});
';
} else {