Skip to content
Permalink
Browse files

Fix test suite fails for hiding text nodes in F4 and IE9. Update for …

…#6135.
  • Loading branch information...
timmywil
timmywil committed Apr 19, 2011
1 parent 825d3d9 commit 8d2d94cfbab40d3919b4d5e596e589a2be09af1a
Showing with 5 additions and 3 deletions.
  1. +5 −3 src/effects.js
@@ -71,10 +71,12 @@ jQuery.fn.extend({

} else {
for ( var i = 0, j = this.length; i < j; i++ ) {
var display = jQuery.css( this[i], "display" );
if ( this[i].style ) {
var display = jQuery.css( this[i], "display" );

if ( display !== "none" && !jQuery._data( this[i], "olddisplay" ) ) {
jQuery._data( this[i], "olddisplay", display );
if ( display !== "none" && !jQuery._data( this[i], "olddisplay" ) ) {
jQuery._data( this[i], "olddisplay", display );
}
}
}

0 comments on commit 8d2d94c

Please sign in to comment.
You can’t perform that action at this time.