We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbc4608 commit fe05cf3Copy full SHA for fe05cf3
src/css/showHide.js
@@ -54,7 +54,12 @@ function showHide( elements, show ) {
54
elem.style.display = "";
55
}
56
57
- if ( elem.style.display === "" && jQuery.css( elem, "display" ) === "none" ) {
+ if ( elem.style.display === "" && jQuery.css( elem, "display" ) === "none" &&
58
+
59
+ // Support: Firefox <=42 - 43
60
+ // Don't set inline display on disconnected elements with computed display: none
61
+ jQuery.contains( elem.ownerDocument, elem ) ) {
62
63
values[ index ] = getDefaultDisplay( elem );
64
65
} else {
0 commit comments