Skip to content
Permalink
Browse files

accordion: fix for newContent/oldContent in the UI object that was po…

…inting to the workaround wrapper (temporary, until we remove the wrapper completely)
  • Loading branch information
Paul Bakaus
Paul Bakaus committed Jan 25, 2009
1 parent 802960f commit 80dd45b6937b16578610e244832938ab4a075c64
Showing with 2 additions and 2 deletions.
  1. +2 −2 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] );

0 comments on commit 80dd45b

Please sign in to comment.
You can’t perform that action at this time.