Commit 8f2667f4 authored by rwldrn's avatar rwldrn

Clean #7397; Removed unnec. var declaration

parent 118c8c46
...@@ -60,10 +60,9 @@ jQuery.fn.extend({ ...@@ -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 );
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment