Commit 14f67a95 authored by Dave Methvin's avatar Dave Methvin

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

parent 0a1be437
......@@ -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 ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment