prevent default on marker mousedown so it doesn't get outline on click

This commit is contained in:
Vladimir Agafonkin 2013-06-24 16:07:15 -04:00
parent 34ce6e6eba
commit 7223a7e49b

View File

@ -273,6 +273,8 @@ L.Marker = L.Class.extend({
}
if (e.type !== 'mousedown') {
L.DomEvent.stopPropagation(e);
} else {
L.DomEvent.preventDefault(e);
}
},