aboutsummaryrefslogtreecommitdiffstats
path: root/src/css/showHide.js
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2016-01-20 13:20:58 -0500
committerTimmy Willison <timmywillisn@gmail.com>2016-01-21 11:27:39 -0500
commita6fc0b16511c70472ebb3dd9469d08566969ac88 (patch)
tree5efd15f7a83651b8f27171b404c3c2bd2f8ec705 /src/css/showHide.js
parent4d3050b3d80dc58cdcca0ce7bfdd780e50b0483f (diff)
downloadjquery-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.js6
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();