docubuzz / touch-sortable.js

A tiny, animated, sortable plugin for jQuery, supporting both touch and mouse events.
http://docubuzz.github.io/touch-sortable.js
Other
7 stars 1 forks source link

onComplete returns the list instead of the moved element #4

Closed andreu86 closed 11 years ago

andreu86 commented 11 years ago

Why is it returning the list? I think it is more flexible to return the moved element, because you can easily find the parent ul. I'll do a pull request.