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

S2.UI.Accordion does not hide content on initialization #25

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

S2.UI.Accordion does not hide content on initialization #25

wants to merge 3 commits into from

Conversation

Korkonius
Copy link

Upon creating a new S2.UI.Accordion all content remains visible until a header that triggers animation is clicked.

Attached patch changes this behavior by explicitly hiding all content not specified by the (new) defaultIndex option.

I am unsure if this was an issue in the Alpha releases but with Beta 1 i have had the problem on 2 different pages using the jQuery Themeroller as several tutorials suggest should work out of the box.

Due to this being my first experience with GIT the changes are spread over 3 commits to minimize the footprint of my patch in the existing S2 code.

Best Regards,
Eirik Ottesen

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.

1 participant