Per @gibson042, don't need .documentElement since Sizzle handles.

This commit is contained in:
Dave Methvin 2012-07-26 09:28:56 -04:00
parent 0a1be437ff
commit 14f67a9518

View File

@ -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 ) {