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 14f67a95189422f83f5e9e19ed7b2d636da717b9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/css.js
@@ -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.
You can’t perform that action at this time.