Cancel contextMenu emulation timeout if >1 touches happen (Put them down for a touch zoom and didn't move them for example)

This commit is contained in:
danzel 2012-10-08 13:33:29 +13:00
parent 514908f812
commit 9783d9ba22

View File

@ -48,6 +48,7 @@ L.Draggable = L.Class.extend({
if (e.touches && e.touches.length > 1) {
this._simulateClick = false;
clearTimeout(this._contextMenuTimeout);
return;
}