Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add animation method to Autoscroll plugin #835

Merged
merged 3 commits into from
May 31, 2018
Merged

Conversation

molotoff
Copy link

jCarousel is not working with animation methods diff from 'scroll'

@@ -78,7 +78,7 @@
.one('jcarousel:animateend', this.onAnimateEnd);

this._timer = setTimeout($.proxy(function() {
this.carousel().jcarousel('scroll', this.options('target'));
this.carousel().jcarousel(this.options('method'), this.options('target'));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you forgot default option, and please add to documentation about it

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants