Skip to content
Permalink
Browse files
Per @gibson042, don't need .documentElement since Sizzle handles.
  • Loading branch information
dmethvin committed Jul 26, 2012
1 parent 0a1be43 commit 14f67a9
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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 ) {

0 comments on commit 14f67a9

Please sign in to comment.