diff options
author | Scott González <scott.gonzalez@gmail.com> | 2009-01-30 03:27:44 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2009-01-30 03:27:44 +0000 |
commit | 967d6595a6387e74f3fb2f87233d0f82e2f4d8c7 (patch) | |
tree | b474e08d2887a7ff90ce6e2830ef0947ae2de8d6 /ui | |
parent | 902c1910e7d7094d92bc6d96c05f6ffc471a7cd8 (diff) | |
download | jquery-ui-967d6595a6387e74f3fb2f87233d0f82e2f4d8c7.tar.gz jquery-ui-967d6595a6387e74f3fb2f87233d0f82e2f4d8c7.zip |
Accordion: Fixed destroy method with new markup.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/ui.accordion.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/ui.accordion.js b/ui/ui.accordion.js index 4fa0869f3..59ae6910a 100644 --- a/ui/ui.accordion.js +++ b/ui/ui.accordion.js @@ -105,9 +105,7 @@ $.widget("ui.accordion", { this.headers.find("a").removeAttr("tabindex"); this.headers.children(".ui-icon").remove(); - this.headers.next().removeClass("ui-accordion-content ui-accordion-content-active").each(function() { - $(this).parent().replaceWith(this); - }); + this.headers.next().removeClass("ui-accordion-content ui-accordion-content-active"); }, |