mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-25 05:14:12 +01:00
- Manage lib through NPM - Move portal / Bootstrap files back to the itop-portal-base module (not managed through NPM yet) - Fix SCSS classes for the backoffice as it was based on the bootstrap CSS classes which are not there anymore Note: jQuery is included as a dependency, will check with the team if we can force it not to be retrieved
16 lines
317 B
JavaScript
16 lines
317 B
JavaScript
define( [
|
|
"../core",
|
|
"../selector"
|
|
], function( jQuery ) {
|
|
|
|
"use strict";
|
|
|
|
jQuery.expr.pseudos.hidden = function( elem ) {
|
|
return !jQuery.expr.pseudos.visible( elem );
|
|
};
|
|
jQuery.expr.pseudos.visible = function( elem ) {
|
|
return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length );
|
|
};
|
|
|
|
} );
|