From: Scott González Date: Wed, 25 Apr 2012 12:39:35 +0000 (-0400) Subject: Accordion: Removed unused variables. X-Git-Tag: 1.9.0m8~84 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d165a770279506d42443ab9b6724af500e45ec19;p=jquery-ui.git Accordion: Removed unused variables. --- diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js index 8d062ad51..fc208e18a 100644 --- a/ui/jquery.ui.accordion.js +++ b/ui/jquery.ui.accordion.js @@ -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" );