From d25ff2bddd44b9dac1ceb248424109d1782dd211 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 25 Mar 2017 13:13:57 +0100 Subject: add minionlivesmatter as submodule --- .../assets/jquery/src/css/hiddenVisibleSelectors.js | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 minionlivesmatter/templates/assets/jquery/src/css/hiddenVisibleSelectors.js (limited to 'minionlivesmatter/templates/assets/jquery/src/css/hiddenVisibleSelectors.js') 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; -}; - -} ); -- cgit v1.3.1