diff options
author | Scott González <scott.gonzalez@gmail.com> | 2013-09-17 10:18:43 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2013-10-24 09:19:42 -0400 |
commit | ecd4f95a50349d3f8488cef5cf9501d9b94a6108 (patch) | |
tree | 0f88db0d61d307b0772b0133279f8b1ffbcd4526 /tests/unit/tabs | |
parent | 604e0949e33ac53d07c707d1cd6934a73cc6e44b (diff) | |
download | jquery-ui-ecd4f95a50349d3f8488cef5cf9501d9b94a6108.tar.gz jquery-ui-ecd4f95a50349d3f8488cef5cf9501d9b94a6108.zip |
Tabs: Use .uniqueId() for panels and moved isLocal() into the widget prototype.
Diffstat (limited to 'tests/unit/tabs')
-rw-r--r-- | tests/unit/tabs/tabs_core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/tabs/tabs_core.js b/tests/unit/tabs/tabs_core.js index cc4f0460c..945dfb1e4 100644 --- a/tests/unit/tabs/tabs_core.js +++ b/tests/unit/tabs/tabs_core.js @@ -67,7 +67,7 @@ test( "aria-controls", function() { tabs = element.find( ".ui-tabs-nav li" ); equal( tabs.eq( 0 ).attr( "aria-controls" ), "colon:test" ); equal( tabs.eq( 1 ).attr( "aria-controls" ), "inline-style" ); - ok( /^ui-tabs-\d+$/.test( tabs.eq( 2 ).attr( "aria-controls" ) ), "generated id" ); + ok( /^ui-id-\d+$/.test( tabs.eq( 2 ).attr( "aria-controls" ) ), "generated id" ); equal( tabs.eq( 3 ).attr( "aria-controls" ), "custom-id" ); }); |