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

When using circular = false the .prev button isn't .disabled when loading the page #1

Open
LeonB opened this issue Jul 2, 2012 · 0 comments

Comments

@LeonB
Copy link

LeonB commented Jul 2, 2012

Adding the following to line 236 fixed it:

    // Disable buttons when the carousel reaches the last/first, and enable when not
    if(!o.circular) {
         jQuery(o.btnPrev).addClass("disabled");
    }
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

No branches or pull requests

1 participant