Skip to content

Commit

Permalink
prevent map popup from disappearing on mouseout, allowing the user to…
Browse files Browse the repository at this point in the history
… click on the name of the nearby mapper in the map on the user page.
  • Loading branch information
mvexel committed Oct 29, 2011
1 parent c738c96 commit f86eb77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/javascripts/map.js
Expand Up @@ -99,7 +99,7 @@ function addMarkerToMap(position, icon, description) {

if (description) {
marker.events.register("mouseover", marker, function() { openMapPopup(marker, description) });
marker.events.register("mouseout", marker, function() { closeMapPopup() });
// marker.events.register("mouseout", marker, function() { closeMapPopup() });
}

return marker;
Expand Down

0 comments on commit f86eb77

Please sign in to comment.