drag: prevent double draginit on touch devices
This commit is contained in:
parent
b2d900a1cf
commit
e7d2fd07d8
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ var targets = {},
|
|||
|
||||
function pointerDownHandler(event) {
|
||||
|
||||
if (event.capturedByEditor === true) return
|
||||
if (event.capturedByEditor || event.touchPunch) return
|
||||
|
||||
if (!event.multitouch) {
|
||||
for (var i in targets) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue