mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
accordion: fix for newContent/oldContent in the UI object that was pointing to the workaround wrapper (temporary, until we remove the wrapper completely)
This commit is contained in:
parent
802960fbad
commit
80dd45b693
@ -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] );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user