Skip to content
Permalink
Browse files

Accordion: Removed unused variables.

  • Loading branch information...
scottgonzalez committed Apr 25, 2012
1 parent 109a927 commit d165a770279506d42443ab9b6724af500e45ec19
Showing with 2 additions and 4 deletions.
  1. +2 −4 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" );

0 comments on commit d165a77

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