mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Accordion: Removed unused variables.
This commit is contained in:
parent
109a927b5e
commit
d165a77027
6
ui/jquery.ui.accordion.js
vendored
6
ui/jquery.ui.accordion.js
vendored
@ -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" );
|
||||
|
Loading…
Reference in New Issue
Block a user