aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/controlgroup/methods.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/controlgroup/methods.js')
-rw-r--r--tests/unit/controlgroup/methods.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/controlgroup/methods.js b/tests/unit/controlgroup/methods.js
index b0d711ee7..77715f8b8 100644
--- a/tests/unit/controlgroup/methods.js
+++ b/tests/unit/controlgroup/methods.js
@@ -83,7 +83,7 @@ $.each( tests, function( widget, html ) {
}
// Hide each element and check the corner classes
- function iterateHidden( excludeInvisible ) {
+ function iterateHidden( onlyVisible ) {
for ( i = 0; i < 4; i++ ) {
$( controls ).each( showElements );
@@ -91,7 +91,7 @@ $.each( tests, function( widget, html ) {
controls[ i ][ widget ]( "widget" ).hide();
currentClasses = classes.slice( 0 );
- if ( excludeInvisible ) {
+ if ( onlyVisible ) {
if ( i === 0 ) {
currentClasses[ i + 1 ] = classes[ i ];
currentClasses[ i ] = false;
@@ -128,7 +128,7 @@ $.each( tests, function( widget, html ) {
iterateHidden( true );
// Set the exclude option to false so we no longer care about hidden
- element.controlgroup( "option", "excludeInvisible", false );
+ element.controlgroup( "option", "onlyVisible", false );
// Iterate hiding the elements again and check their corner classes
iterateHidden();