mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 16:48:42 +02:00
Improve dataTables integration within the app:
- 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
This commit is contained in:
15
node_modules/jquery/src/css/hiddenVisibleSelectors.js
generated
vendored
Normal file
15
node_modules/jquery/src/css/hiddenVisibleSelectors.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
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 );
|
||||
};
|
||||
|
||||
} );
|
||||
Reference in New Issue
Block a user