mirror of
https://github.com/jquery/jquery.git
synced 2026-02-07 00:34:59 -05:00
Unbreak isHidden args, they're needed by the .filter() call.
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user