prevent default on marker mousedown so it doesn't get outline on click
This commit is contained in:
parent
34ce6e6eba
commit
7223a7e49b
@ -273,6 +273,8 @@ L.Marker = L.Class.extend({
|
|||||||
}
|
}
|
||||||
if (e.type !== 'mousedown') {
|
if (e.type !== 'mousedown') {
|
||||||
L.DomEvent.stopPropagation(e);
|
L.DomEvent.stopPropagation(e);
|
||||||
|
} else {
|
||||||
|
L.DomEvent.preventDefault(e);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user