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