Merge branch 'bug_7397' of https://github.com/rwldrn/jquery into rwldrn-bug_7397
This commit is contained in:
commit
efcf1a7921
2 changed files with 41 additions and 2 deletions
4
src/effects.js
vendored
4
src/effects.js
vendored
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue