Accordion: Removed unused variables.

This commit is contained in:
Scott González 2012-04-25 08:39:35 -04:00
parent 109a927b5e
commit d165a77027

View File

@ -167,8 +167,7 @@ $.widget( "ui.accordion", {
}, },
_destroy: function() { _destroy: function() {
var contents, var contents;
accordionId = this.accordionId;
// clean up main element // clean up main element
this.element this.element
@ -517,8 +516,7 @@ $.widget( "ui.accordion", {
}, },
_toggleComplete: function( data ) { _toggleComplete: function( data ) {
var toShow = data.newContent, var toHide = data.oldContent;
toHide = data.oldContent;
// other classes are removed before the animation; this one needs to stay until completed // other classes are removed before the animation; this one needs to stay until completed
toHide.removeClass( "ui-accordion-content-active" ); toHide.removeClass( "ui-accordion-content-active" );