mirror of
https://github.com/jquery/jquery.git
synced 2026-01-25 03:08:33 -05:00
Fix test suite fails for hiding text nodes in F4 and IE9. Update for #6135.
This commit is contained in:
8
src/effects.js
vendored
8
src/effects.js
vendored
@@ -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 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user