diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2016-01-20 13:20:58 -0500 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2016-01-21 11:27:39 -0500 |
commit | a6fc0b16511c70472ebb3dd9469d08566969ac88 (patch) | |
tree | 5efd15f7a83651b8f27171b404c3c2bd2f8ec705 /src/css/showHide.js | |
parent | 4d3050b3d80dc58cdcca0ce7bfdd780e50b0483f (diff) | |
download | jquery-a6fc0b16511c70472ebb3dd9469d08566969ac88.tar.gz jquery-a6fc0b16511c70472ebb3dd9469d08566969ac88.zip |
CSS: isHidden -> isHiddenWithinTree
Fixes gh-2404
Close gh-2855
Diffstat (limited to 'src/css/showHide.js')
-rw-r--r-- | src/css/showHide.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/css/showHide.js b/src/css/showHide.js index 9e2cb1ea4..8c9b0da18 100644 --- a/src/css/showHide.js +++ b/src/css/showHide.js @@ -1,8 +1,8 @@ define( [ "../core", "../data/var/dataPriv", - "../css/var/isHidden" -], function( jQuery, dataPriv, isHidden ) { + "../css/var/isHiddenWithinTree" +], function( jQuery, dataPriv, isHiddenWithinTree ) { var defaultDisplayMap = {}; @@ -95,7 +95,7 @@ jQuery.fn.extend( { } return this.each( function() { - if ( isHidden( this ) ) { + if ( isHiddenWithinTree( this ) ) { jQuery( this ).show(); } else { jQuery( this ).hide(); |