diff options
author | Paul Bakaus <paul.bakaus@googlemail.com> | 2009-01-25 21:20:15 +0000 |
---|---|---|
committer | Paul Bakaus <paul.bakaus@googlemail.com> | 2009-01-25 21:20:15 +0000 |
commit | 80dd45b6937b16578610e244832938ab4a075c64 (patch) | |
tree | 577a13389999417932f18dd5fcd0ea7aa4801403 /ui | |
parent | 802960fbadf0ad63e33c1771e3c5f7ec5d9b2c5c (diff) | |
download | jquery-ui-80dd45b6937b16578610e244832938ab4a075c64.tar.gz jquery-ui-80dd45b6937b16578610e244832938ab4a075c64.zip |
accordion: fix for newContent/oldContent in the UI object that was pointing to the workaround wrapper (temporary, until we remove the wrapper completely)
Diffstat (limited to 'ui')
-rw-r--r-- | ui/ui.accordion.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/ui.accordion.js b/ui/ui.accordion.js index 95fd55f43..0335f22d1 100644 --- a/ui/ui.accordion.js +++ b/ui/ui.accordion.js @@ -251,8 +251,8 @@ $.widget("ui.accordion", { options: o, newHeader: clickedIsActive && !o.alwaysOpen ? $([]) : clicked, oldHeader: this.active, - newContent: clickedIsActive && !o.alwaysOpen ? $([]) : toShow, - oldContent: toHide + newContent: clickedIsActive && !o.alwaysOpen ? $([]) : toShow.find('> *'), + oldContent: toHide.find('> *') }, down = this.headers.index( this.active[0] ) > this.headers.index( clicked[0] ); |