From c3288ab7650c932c6089bba9ab68fe07ca9675bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20S=C3=A1nchez=20Ortega?= Date: Thu, 11 Jun 2015 11:35:09 +0200 Subject: [PATCH] Synthetic doubletap events respect stopPropagation, fixes #3532 --- src/dom/DomEvent.DoubleTap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dom/DomEvent.DoubleTap.js b/src/dom/DomEvent.DoubleTap.js index e7d91672..dcc66969 100644 --- a/src/dom/DomEvent.DoubleTap.js +++ b/src/dom/DomEvent.DoubleTap.js @@ -33,7 +33,7 @@ L.extend(L.DomEvent, { } function onTouchEnd() { - if (doubleTap) { + if (doubleTap && !touch.cancelBubble) { if (L.Browser.pointer) { // work around .type being readonly with MSPointer* events var newTouch = {},