diff options
Diffstat (limited to 'tests/unit/button/button_tickets.js')
-rw-r--r-- | tests/unit/button/button_tickets.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/unit/button/button_tickets.js b/tests/unit/button/button_tickets.js index 9a7ccae43..2912b06a3 100644 --- a/tests/unit/button/button_tickets.js +++ b/tests/unit/button/button_tickets.js @@ -29,23 +29,23 @@ test( "#6711 Checkbox/Radiobutton do not Show Focused State when using Keyboard }); test( "#7092 - button creation that requires a matching label does not find label in all cases", function() { - var group = $( "<span><label for='t7092a'/><input type='checkbox' id='t7092a'/></span>" ); + var group = $( "<span><label for='t7092a'></label><input type='checkbox' id='t7092a'></span>" ); group.find( "input:checkbox" ).button(); ok( group.find( "label" ).is( ".ui-button" ) ); - group = $( "<input type='checkbox' id='t7092b'/><label for='t7092b'/>" ); + group = $( "<input type='checkbox' id='t7092b'><label for='t7092b'></label>" ); group.filter( "input:checkbox" ).button(); ok( group.filter( "label" ).is( ".ui-button" ) ); - group = $( "<span><input type='checkbox' id='t7092c'/></span><label for='t7092c'/>" ); + group = $( "<span><input type='checkbox' id='t7092c'></span><label for='t7092c'></label>" ); group.find( "input:checkbox" ).button(); ok( group.filter( "label" ).is( ".ui-button" ) ); - group = $( "<span><input type='checkbox' id='t7092d'/></span><span><label for='t7092d'/></span>" ); + group = $( "<span><input type='checkbox' id='t7092d'></span><span><label for='t7092d'></label></span>" ); group.find( "input:checkbox" ).button(); ok( group.find( "label" ).is( ".ui-button" ) ); - group = $( "<input type='checkbox' id='t7092e'/><span><label for='t7092e'/></span>" ); + group = $( "<input type='checkbox' id='t7092e'><span><label for='t7092e'></label></span>" ); group.filter( "input:checkbox" ).button(); ok( group.find( "label" ).is( ".ui-button" ) ); }); |