From be294076c47793d046c87d6fb1707107737e1312 Mon Sep 17 00:00:00 2001 From: Martijn van Exel Date: Sat, 29 Oct 2011 12:24:38 -0600 Subject: [PATCH] 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. --- public/javascripts/map.js | 1 - 1 file changed, 1 deletion(-) 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; -- 2.43.2