aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/button/button_tickets.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/button/button_tickets.js')
-rw-r--r--tests/unit/button/button_tickets.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/button/button_tickets.js b/tests/unit/button/button_tickets.js
index 624d16716..43bfdb833 100644
--- a/tests/unit/button/button_tickets.js
+++ b/tests/unit/button/button_tickets.js
@@ -7,7 +7,7 @@ module( "button: tickets" );
test( "#5946 - buttonset should ignore buttons that are not :visible", function() {
$( "#radio01" ).next().andSelf().hide();
- var set = $( "#radio0" ).buttonset({ items: ":radio:visible" });
+ var set = $( "#radio0" ).buttonset({ items: "input[type=radio]:visible" });
ok( set.find( "label:eq(0)" ).is( ":not(.ui-button):not(.ui-corner-left)" ) );
ok( set.find( "label:eq(1)" ).is( ".ui-button.ui-corner-left" ) );
});