mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Unbreak isHidden args, they're needed by the .filter() call.
This commit is contained in:
parent
d4ec6804e8
commit
cc6c014125
@ -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 );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user