From: Martijn van Exel Date: Sat, 29 Oct 2011 18:24:38 +0000 (-0600) Subject: Prevent map popup from disappearing on mouseout X-Git-Tag: live~7060 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/be294076c47793d046c87d6fb1707107737e1312?ds=inline Prevent map popup from disappearing on mouseout By stopping it closing we allow the user to click on the name of any nearby mappers or friends in the map on the user page. --- diff --git a/public/javascripts/map.js b/public/javascripts/map.js index 58950a1ff..61393894b 100644 --- a/public/javascripts/map.js +++ b/public/javascripts/map.js @@ -99,7 +99,6 @@ function addMarkerToMap(position, icon, description) { if (description) { marker.events.register("mouseover", marker, function() { openMapPopup(marker, description) }); - marker.events.register("mouseout", marker, function() { closeMapPopup() }); } return marker;