Skip to content
Permalink
Browse files

Accordion: Fixed oldContent and newContent for events.

Fixes #4469 - Accordion: newContent/oldContent misbehaving.
  • Loading branch information
scottgonzalez committed Feb 24, 2010
1 parent 83b16f5 commit c27bc6b0355899d7d5cf40e594fa033e159b7653
Showing with 2 additions and 2 deletions.
  1. +2 −2 ui/jquery.ui.accordion.js
@@ -313,8 +313,8 @@ $.widget("ui.accordion", {
options: o,
newHeader: clickedIsActive && o.collapsible ? $([]) : clicked,
oldHeader: this.active,
newContent: clickedIsActive && o.collapsible ? $([]) : toShow.find('> *'),
oldContent: toHide.find('> *')
newContent: clickedIsActive && o.collapsible ? $([]) : toShow,
oldContent: toHide
},
down = this.headers.index( this.active[0] ) > this.headers.index( clicked[0] );

0 comments on commit c27bc6b

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