Skip to content

Commit

Permalink
fix _detachListeners to detach scroll function when touch is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaemu committed Oct 2, 2014
1 parent 4b70391 commit a46948e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jquery.kinetic.js
Original file line number Diff line number Diff line change
Expand Up @@ -467,11 +467,11 @@
$this
.unbind('mousedown', settings.events.inputDown)
.unbind('mouseup', settings.events.inputEnd)
.unbind('mousemove', settings.events.inputMove)
.unbind('scroll', settings.events.scroll);
.unbind('mousemove', settings.events.inputMove);
}
$this
.unbind('click', settings.events.inputClick)
.unbind('scroll', settings.events.scroll)
.unbind('selectstart', selectStart) // prevent selection when dragging
.unbind('dragstart', settings.events.dragStart);
};
Expand Down

0 comments on commit a46948e

Please sign in to comment.