Skip to content
Permalink
Browse files
Unbreak isHidden args, they're needed by the .filter() call.
  • Loading branch information
dmethvin committed Jul 26, 2012
1 parent d4ec680 commit cc6c014
Showing 1 changed file with 2 additions and 1 deletion.
@@ -43,7 +43,8 @@ function vendorPropName( style, name ) {
return origName;
}

function isHidden( elem ) {
function isHidden( elem, el ) {
elem = el || elem;
return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument.documentElement, elem );
}

0 comments on commit cc6c014

Please sign in to comment.