Skip to content

Commit 30e2ffb

Browse files
committed
Resolve a763ae7 test failures
1 parent a763ae7 commit 30e2ffb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/unit/manipulation.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -475,10 +475,7 @@ var testAppend = function( valueObj ) {
475475
d.remove();
476476
equal( jQuery("#nonnodes").contents().length, 3, "Check node,textnode,comment append cleanup worked" );
477477

478-
$input = jQuery("<input />").attr({
479-
"type": "checkbox",
480-
"checked": true
481-
}).appendTo("#testForm");
478+
$input = jQuery("<input type='checkbox'/>").prop( "checked", true ).appendTo("#testForm");
482479
equal( $input[ 0 ].checked, true, "A checked checkbox that is appended stays checked" );
483480

484481
$radioChecked = jQuery("input:radio[name='R1']").eq( 1 );

0 commit comments

Comments
 (0)