Commit cc6c0141 authored by Dave Methvin's avatar Dave Methvin

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

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