mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Per @gibson042, don't need .documentElement since Sizzle handles.
This commit is contained in:
parent
0a1be437ff
commit
14f67a9518
@ -45,7 +45,7 @@ function vendorPropName( style, name ) {
|
||||
|
||||
function isHidden( elem, el ) {
|
||||
elem = el || elem;
|
||||
return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument.documentElement, elem );
|
||||
return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem );
|
||||
}
|
||||
|
||||
function showHide( elements, show ) {
|
||||
|
Loading…
Reference in New Issue
Block a user