Skip to content

Commit

Permalink
remove moveend hook, not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Visual Idiot committed Nov 20, 2015
1 parent 20d9259 commit 62b9423
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion dist/js/unslider-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions src/js/unslider.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,10 +298,6 @@
self.$container.on({
move: function(e) {
self.$container.css('left', (100 * e.distX / width) + '%');
},

moveend: function() {
self.$container.animate({left: 0}, 200);
}
});
}
Expand Down

0 comments on commit 62b9423

Please sign in to comment.