Don't crash when double tap zooming on pointer if a property is null.
This commit is contained in:
parent
3924b49708
commit
c287eccef3
@ -49,7 +49,7 @@ L.extend(L.DomEvent, {
|
||||
|
||||
for (i in touch) {
|
||||
prop = touch[i];
|
||||
newTouch[i] = prop.bind ? prop.bind(touch) : prop;
|
||||
newTouch[i] = prop && prop.bind ? prop.bind(touch) : prop;
|
||||
}
|
||||
touch = newTouch;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user