Clean #7397; Removed unnec. var declaration
This commit is contained in:
parent
118c8c4600
commit
8f2667f4c0
5
src/effects.js
vendored
5
src/effects.js
vendored
|
@ -60,10 +60,9 @@ jQuery.fn.extend({
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
for ( var i = 0, j = this.length; i < j; i++ ) {
|
for ( var i = 0, j = this.length; i < j; i++ ) {
|
||||||
var display = jQuery.css( this[i], "display" ),
|
var display = jQuery.css( this[i], "display" );
|
||||||
old = jQuery.data( this[i], "olddisplay" );
|
|
||||||
|
|
||||||
if ( !old && display !== "none" ) {
|
if ( !jQuery.data( this[i], "olddisplay" ) && display !== "none" ) {
|
||||||
jQuery.data( this[i], "olddisplay", display );
|
jQuery.data( this[i], "olddisplay", display );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue