mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-15 12:50:04 +01:00
basic gh-pages deps
This commit is contained in:
18
node_modules/jquery/src/css/hiddenVisibleSelectors.js
generated
vendored
Normal file
18
node_modules/jquery/src/css/hiddenVisibleSelectors.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
define( [
|
||||
"../core",
|
||||
"../selector"
|
||||
], function( jQuery ) {
|
||||
|
||||
jQuery.expr.filters.hidden = function( elem ) {
|
||||
return !jQuery.expr.filters.visible( elem );
|
||||
};
|
||||
jQuery.expr.filters.visible = function( elem ) {
|
||||
|
||||
// Support: Opera <= 12.12
|
||||
// Opera reports offsetWidths and offsetHeights less than zero on some elements
|
||||
// Use OR instead of AND as the element is not visible if either is true
|
||||
// See tickets #10406 and #13132
|
||||
return elem.offsetWidth > 0 || elem.offsetHeight > 0 || elem.getClientRects().length > 0;
|
||||
};
|
||||
|
||||
} );
|
||||
Reference in New Issue
Block a user