Synthetic doubletap events respect stopPropagation, fixes #3532
This commit is contained in:
parent
cc04a82be1
commit
c3288ab765
@ -33,7 +33,7 @@ L.extend(L.DomEvent, {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function onTouchEnd() {
|
function onTouchEnd() {
|
||||||
if (doubleTap) {
|
if (doubleTap && !touch.cancelBubble) {
|
||||||
if (L.Browser.pointer) {
|
if (L.Browser.pointer) {
|
||||||
// work around .type being readonly with MSPointer* events
|
// work around .type being readonly with MSPointer* events
|
||||||
var newTouch = {},
|
var newTouch = {},
|
||||||
|
Loading…
Reference in New Issue
Block a user