Skip to content

Commit

Permalink
Make sure dragging is marked as released inside dragEnd(). Fixes #168.
Browse files Browse the repository at this point in the history
  • Loading branch information
darsain committed Mar 5, 2015
1 parent 5b4a9c3 commit 2ae89e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sly.js
Expand Up @@ -1463,6 +1463,7 @@
*/
function dragEnd() {
clearInterval(historyID);
dragging.released = true;
$doc.off(dragging.touch ? dragTouchEvents : dragMouseEvents, dragHandler);
(dragging.slidee ? $slidee : $handle).removeClass(o.draggedClass);

Expand Down

0 comments on commit 2ae89e3

Please sign in to comment.