Synthetic doubletap events respect stopPropagation, fixes #3532

This commit is contained in:
Iván Sánchez Ortega 2015-06-11 11:35:09 +02:00
parent cc04a82be1
commit c3288ab765

View File

@ -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 = {},