MCPcopy Index your code
hub / github.com/TruthHun/BookStack / filterHidden

Function filterHidden

static/jquery/1.12.4/jquery.js:9989–10002  ·  view source on GitHub ↗
( elem )

Source from the content-addressed store, hash-verified

9987}
9988
9989function filterHidden( elem ) {
9990
9991 // Disconnected elements are considered hidden
9992 if ( !jQuery.contains( elem.ownerDocument || document, elem ) ) {
9993 return true;
9994 }
9995 while ( elem && elem.nodeType === 1 ) {
9996 if ( getDisplay( elem ) === "none" || elem.type === "hidden" ) {
9997 return true;
9998 }
9999 elem = elem.parentNode;
10000 }
10001 return false;
10002}
10003
10004jQuery.expr.filters.hidden = function( elem ) {
10005

Callers 1

jquery.jsFile · 0.85

Calls 1

getDisplayFunction · 0.85

Tested by

no test coverage detected