mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
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 {
|
||||
for ( var i = 0, j = this.length; i < j; i++ ) {
|
||||
var display = jQuery.css( this[i], "display" ),
|
||||
old = jQuery.data( this[i], "olddisplay" );
|
||||
var display = jQuery.css( this[i], "display" );
|
||||
|
||||
if ( !old && display !== "none" ) {
|
||||
if ( !jQuery.data( this[i], "olddisplay" ) && display !== "none" ) {
|
||||
jQuery.data( this[i], "olddisplay", display );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user