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