Skip to content

Commit d165a77

Browse files
committed
Accordion: Removed unused variables.
1 parent 109a927 commit d165a77

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ui/jquery.ui.accordion.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,7 @@ $.widget( "ui.accordion", {
167167
},
168168

169169
_destroy: function() {
170-
var contents,
171-
accordionId = this.accordionId;
170+
var contents;
172171

173172
// clean up main element
174173
this.element
@@ -517,8 +516,7 @@ $.widget( "ui.accordion", {
517516
},
518517

519518
_toggleComplete: function( data ) {
520-
var toShow = data.newContent,
521-
toHide = data.oldContent;
519+
var toHide = data.oldContent;
522520

523521
// other classes are removed before the animation; this one needs to stay until completed
524522
toHide.removeClass( "ui-accordion-content-active" );

0 commit comments

Comments
 (0)