summaryrefslogtreecommitdiffstats
path: root/js/vendor/jquery/src/css/hiddenVisibleSelectors.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/vendor/jquery/src/css/hiddenVisibleSelectors.js')
-rw-r--r--js/vendor/jquery/src/css/hiddenVisibleSelectors.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/js/vendor/jquery/src/css/hiddenVisibleSelectors.js b/js/vendor/jquery/src/css/hiddenVisibleSelectors.js
deleted file mode 100644
index cf0955d3e..000000000
--- a/js/vendor/jquery/src/css/hiddenVisibleSelectors.js
+++ /dev/null
@@ -1,18 +0,0 @@
-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;
-};
-
-} );