mirror of
https://github.com/jquery/jquery.git
synced 2026-02-03 18:14:55 -05:00
Landing pull request 530. Fixes coniditional path for tr, td defaultDisplay() calls. Fixes #10416.
More Details: - https://github.com/jquery/jquery/pull/530 - http://bugs.jquery.com/ticket/10416
This commit is contained in:
2
src/effects.js
vendored
2
src/effects.js
vendored
@@ -38,7 +38,7 @@ jQuery.fn.extend({
|
||||
// Set elements which have been overridden with display: none
|
||||
// in a stylesheet to whatever the default browser style is
|
||||
// for such an element
|
||||
if ( display === "" && jQuery.css( elem, "display" ) === "none" ) {
|
||||
if ( display === "none" || ( display === "" && jQuery.css( elem, "display" ) === "none" ) ) {
|
||||
jQuery._data(elem, "olddisplay", defaultDisplay(elem.nodeName));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user