8000 remove moveend hook, not needed · Dream-git/unslider@62b9423 · GitHub
[go: up one dir, main page]

Skip to content

Commit 62b9423

Browse files
author
Visual Idiot
committed
remove moveend hook, not needed
1 parent 20d9259 commit 62b9423

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

dist/js/unslider-min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/js/unslider.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,10 +298,6 @@
298298
self.$container.on({
299299
move: function(e) {
300300
self.$container.css('left', (100 * e.distX / width) + '%');
301-
},
302-
303-
moveend: function() {
304-
self.$container.animate({left: 0}, 200);
305301
}
306302
});
307303
}

0 commit comments

Comments
 (0)
0