Merge branch 'bug_7397' of https://github.com/rwldrn/jquery into rwldrn-bug_7397

This commit is contained in:
Colin Snover 2010-12-14 00:37:11 -06:00
commit efcf1a7921
2 changed files with 41 additions and 2 deletions

4
src/effects.js vendored
View file

@ -61,8 +61,8 @@ jQuery.fn.extend({
} else {
for ( var i = 0, j = this.length; i < j; i++ ) {
var display = jQuery.css( this[i], "display" );
if ( display !== "none" ) {
if ( display !== "none" && !jQuery.data( this[i], "olddisplay" ) ) {
jQuery.data( this[i], "olddisplay", display );
}
}