drag: prevent double draginit on touch devices
This commit is contained in:
parent
cbe43d38ec
commit
00cbce9fff
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