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