diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-04-28 21:35:04 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-04-28 21:35:04 -0400 |
commit | 1bacdec6be7e9d543224c69344041aaccde059c0 (patch) | |
tree | 92829155963b371017375aa689b9f47aa2c801d6 /tests/unit/tabs/tabs.html | |
parent | c3d9bd070051a79e1a288935d420f85278268149 (diff) | |
download | jquery-ui-1bacdec6be7e9d543224c69344041aaccde059c0.tar.gz jquery-ui-1bacdec6be7e9d543224c69344041aaccde059c0.zip |
Tabs: Cleaned up add and remove methods.
Diffstat (limited to 'tests/unit/tabs/tabs.html')
-rw-r--r-- | tests/unit/tabs/tabs.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/tabs/tabs.html b/tests/unit/tabs/tabs.html index 3e38f5f25..565a0b427 100644 --- a/tests/unit/tabs/tabs.html +++ b/tests/unit/tabs/tabs.html @@ -34,7 +34,7 @@ panel = $( $.ui.tabs.prototype._sanitizeSelector( "#" + tab.find( "a" ).attr( "aria-controls" ) ) ), tabIsActive = tab.hasClass( "ui-state-active" ), - panelIsActive = panel.is( ":visible" ); + panelIsActive = panel.css( "display" ) !== "none"; if ( tabIsActive && panelIsActive ) { return 1; |