diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-25 13:13:57 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-25 13:13:57 +0100 |
| commit | d25ff2bddd44b9dac1ceb248424109d1782dd211 (patch) | |
| tree | 34fcfd824a1a72e7b4d431b688adcea532b62180 /minionlivesmatter/templates/assets/jquery/src/css/hiddenVisibleSelectors.js | |
| parent | a2cbdd1b88ac723e5e441c0a3c22636f0a8c4dfd (diff) | |
| download | meta-d25ff2bddd44b9dac1ceb248424109d1782dd211.tar.gz meta-d25ff2bddd44b9dac1ceb248424109d1782dd211.zip | |
add minionlivesmatter as submodule
Diffstat (limited to 'minionlivesmatter/templates/assets/jquery/src/css/hiddenVisibleSelectors.js')
| -rw-r--r-- | minionlivesmatter/templates/assets/jquery/src/css/hiddenVisibleSelectors.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/minionlivesmatter/templates/assets/jquery/src/css/hiddenVisibleSelectors.js b/minionlivesmatter/templates/assets/jquery/src/css/hiddenVisibleSelectors.js deleted file mode 100644 index cf0955d..0000000 --- a/minionlivesmatter/templates/assets/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; -}; - -} ); |
