Unbreak isHidden args, they're needed by the .filter() call.

This commit is contained in:
Dave Methvin 2012-07-25 21:44:44 -04:00
parent d4ec6804e8
commit cc6c014125

View File

@ -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 );
}