touch/traversing: dispatch dragend event to the last touched not widget, not the first one (issue #94)
This commit is contained in:
parent
99d6a04f7d
commit
dba0fa367a
1 changed files with 1 additions and 1 deletions
|
|
@ -234,7 +234,7 @@
|
|||
var touch = oE.changedTouches[i],
|
||||
id = touch.identifier
|
||||
|
||||
$(oE.changedTouches[i].target).trigger('dragend',[touch,e.originalEvent.traversing])
|
||||
$(targets[id]).trigger('dragend',[touch,e.originalEvent.traversing])
|
||||
|
||||
delete previousTouches[id]
|
||||
delete targets[id]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue