diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-08-11 16:48:58 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-08-11 16:48:58 -0400 |
commit | 18a3b539882835ecc78ed976a7d9e830c128fd96 (patch) | |
tree | 9a6b0fb6b3e68eff907defbcb5c9a0409881dc9b /tests/unit/tabs | |
parent | ac04462d22d30f4b1a5e0dd34d57fbcc0450b48d (diff) | |
download | jquery-ui-18a3b539882835ecc78ed976a7d9e830c128fd96.tar.gz jquery-ui-18a3b539882835ecc78ed976a7d9e830c128fd96.zip |
Tabs: Fixed detection of local vs. remote tabs. Fixes #4941 - Mishandling of base tag. Fixes #4836 - Self refering href only partially detected.
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 98cb617ec..e7c1ee576 100644 --- a/tests/unit/tabs/tabs_core.js +++ b/tests/unit/tabs/tabs_core.js @@ -48,7 +48,7 @@ test( "aria-controls", function() { tabs = element.find( ".ui-tabs-nav a" ); tabs.each(function() { var tab = $( this ); - equal( tab.attr( "href" ).substring( 1 ), tab.attr( "aria-controls" ) ); + equal( tab.prop( "hash" ).substring( 1 ), tab.attr( "aria-controls" ) ); }); element = $( "#tabs2" ).tabs(); |