git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f93df73
)
fix show issue in IE 6. "olddisplay" is sometimes undefined and IE 6 does not like...
author
Brandon Aaron
<brandon.aaron@gmail.com>
Mon, 16 Feb 2009 21:20:51 +0000
(21:20 +0000)
committer
Brandon Aaron
<brandon.aaron@gmail.com>
Mon, 16 Feb 2009 21:20:51 +0000
(21:20 +0000)
src/fx.js
patch
|
blob
|
history
diff --git
a/src/fx.js
b/src/fx.js
index
724e21f
..
c949bdc
100644
(file)
--- a/
src/fx.js
+++ b/
src/fx.js
@@
-46,12
+46,12
@@
jQuery.fn.extend({
jQuery.data(this[i], "olddisplay", display);
}
jQuery.data(this[i], "olddisplay", display);
}
+ }
- // Set the display of the elements in a second loop
- // to avoid the constant reflow
- for ( var i = 0, l = this.length; i < l; i++ ){
- this[i].style.display = jQuery.data(this[i], "olddisplay");
- }
+ // Set the display of the elements in a second loop
+ // to avoid the constant reflow
+ for ( var i = 0, l = this.length; i < l; i++ ){
+ this[i].style.display = jQuery.data(this[i], "olddisplay") || "";
}
return this;
}
return this;