Skip to content

Commit

Permalink
Fixes issue 13
Browse files Browse the repository at this point in the history
  • Loading branch information
stephband committed Oct 28, 2013
1 parent ecc4855 commit 7b9ef08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ <h2 id="how">How to use move events</h2>
jQuery('.mydiv')
.bind('move', function(e) {
// move .mydiv horizontally
jQuery(this).css({ left: e.startX + e.deltaX });
jQuery(this).css({ left: e.startX + e.distX });
})
.bind('moveend', function() {
// move is complete!
Expand Down

0 comments on commit 7b9ef08

Please sign in to comment.