aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/tabs/tabs.html
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-04-28 21:35:04 -0400
committerScott González <scott.gonzalez@gmail.com>2011-04-28 21:35:04 -0400
commit1bacdec6be7e9d543224c69344041aaccde059c0 (patch)
tree92829155963b371017375aa689b9f47aa2c801d6 /tests/unit/tabs/tabs.html
parentc3d9bd070051a79e1a288935d420f85278268149 (diff)
downloadjquery-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.html2
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;