Skip to content

Instantly share code, notes, and snippets.

@mikewest
Created August 24, 2010 15:36
Show Gist options
  • Save mikewest/547748 to your computer and use it in GitHub Desktop.
Save mikewest/547748 to your computer and use it in GitHub Desktop.
if (!defaults.toggle && active.length < 1) {
accordion
.find("> li")
.first()
.addClass(defaults.activeClassLi)
.find(" > " + defaults.panel)
.addClass(defaults.activeClassPanel)
.show();
}
handles = accordion.find(
">li>"
+ defaults.handle
)
.wrapInner('<a class="accordion-opener" href="#open-panel" />');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment