nexus site path corrected
[portal.git] / ecomp-portal-FE / client / bower_components / jquery / src / css / var / isHidden.js
1 define( [
2         "../../core",
3         "../../selector"
4
5         // css is assumed
6 ], function( jQuery ) {
7
8         return function( elem, el ) {
9
10                 // isHidden might be called from jQuery#filter function;
11                 // in that case, element will be second argument
12                 elem = el || elem;
13                 return jQuery.css( elem, "display" ) === "none" ||
14                         !jQuery.contains( elem.ownerDocument, elem );
15         };
16 } );