From 30e2ffbeb869bb2f65ef139633c68a1c62f0e892 Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Sat, 15 Dec 2012 23:42:24 -0500 Subject: [PATCH] Resolve a763ae72 test failures --- test/unit/manipulation.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index fe9f6c203..35beb5267 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -475,10 +475,7 @@ var testAppend = function( valueObj ) { d.remove(); equal( jQuery("#nonnodes").contents().length, 3, "Check node,textnode,comment append cleanup worked" ); - $input = jQuery("").attr({ - "type": "checkbox", - "checked": true - }).appendTo("#testForm"); + $input = jQuery("").prop( "checked", true ).appendTo("#testForm"); equal( $input[ 0 ].checked, true, "A checked checkbox that is appended stays checked" ); $radioChecked = jQuery("input:radio[name='R1']").eq( 1 ); -- 2.39.5