event/drag: prevent error when multi-touching single-touch widget
This commit is contained in:
parent
6dfa97343d
commit
8912854262
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ function pointerDownHandler(event) {
|
|||
|
||||
if (!event.target._drag_multitouch) {
|
||||
for (var i in targets) {
|
||||
if (targets[i] == event.target) return
|
||||
if (targets[i] == event.target) return event
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue