Commit 30e2ffbe authored by Richard Gibson's avatar Richard Gibson

Resolve a763ae72 test failures

parent a763ae72
...@@ -475,10 +475,7 @@ var testAppend = function( valueObj ) { ...@@ -475,10 +475,7 @@ var testAppend = function( valueObj ) {
d.remove(); d.remove();
equal( jQuery("#nonnodes").contents().length, 3, "Check node,textnode,comment append cleanup worked" ); equal( jQuery("#nonnodes").contents().length, 3, "Check node,textnode,comment append cleanup worked" );
$input = jQuery("<input />").attr({ $input = jQuery("<input type='checkbox'/>").prop( "checked", true ).appendTo("#testForm");
"type": "checkbox",
"checked": true
}).appendTo("#testForm");
equal( $input[ 0 ].checked, true, "A checked checkbox that is appended stays checked" ); equal( $input[ 0 ].checked, true, "A checked checkbox that is appended stays checked" );
$radioChecked = jQuery("input:radio[name='R1']").eq( 1 ); $radioChecked = jQuery("input:radio[name='R1']").eq( 1 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment