Merge pull request #3533 from Leaflet/doubletap-propagation

Synthetic doubletap events respect stopPropagation, fixes #3532
This commit is contained in:
Vladimir Agafonkin 2015-07-15 16:05:28 +03:00
commit 4457d1414a

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