diff options
author | Shahyar G <shahyar@gmail.com> | 2012-04-23 14:25:23 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-04-23 20:49:57 -0400 |
commit | f3b022ddb8815974f52aeeddb79d209645041653 (patch) | |
tree | 372f5c6fd8bbd284d432c6b5bec22c0aca7894c0 /tests/unit/tabs/tabs_options.js | |
parent | 9df981d268b4029065247cf230a4e988946b7799 (diff) | |
download | jquery-ui-f3b022ddb8815974f52aeeddb79d209645041653.tar.gz jquery-ui-f3b022ddb8815974f52aeeddb79d209645041653.zip |
Use length property, instead of the deprecated size() method.
Diffstat (limited to 'tests/unit/tabs/tabs_options.js')
-rw-r--r-- | tests/unit/tabs/tabs_options.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/tabs/tabs_options.js b/tests/unit/tabs/tabs_options.js index 40d4ceaa7..ae9e7bdc6 100644 --- a/tests/unit/tabs/tabs_options.js +++ b/tests/unit/tabs/tabs_options.js @@ -29,7 +29,7 @@ test( "{ active: false }", function() { collapsible: true }); state( element, 0, 0, 0 ); - equal( element.find( ".ui-tabs-nav .ui-state-active" ).size(), 0, "no tabs selected" ); + equal( element.find( ".ui-tabs-nav .ui-state-active" ).length, 0, "no tabs selected" ); strictEqual( element.tabs( "option", "active" ), false ); element.tabs( "option", "collapsible", false ); |