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.
This commit is contained in:
Martijn van Exel 2011-10-29 12:24:38 -06:00 committed by Tom Hughes
parent afb4fedbd7
commit be294076c4

View file

@ -99,7 +99,6 @@ function addMarkerToMap(position, icon, description) {
if (description) { if (description) {
marker.events.register("mouseover", marker, function() { openMapPopup(marker, description) }); marker.events.register("mouseover", marker, function() { openMapPopup(marker, description) });
marker.events.register("mouseout", marker, function() { closeMapPopup() });
} }
return marker; return marker;