aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/manipulation.js
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2012-11-20 22:31:33 -0500
committerDave Methvin <dave.methvin@gmail.com>2012-11-24 14:08:51 -0500
commit1fb2f92c357b985a5ba18d0938edd27b5f64d8c3 (patch)
treeaeb57875c20c53a15c1d4ff822fdc62f1870d0b6 /test/unit/manipulation.js
parent4fed8eb86d4b987524fd16e6c4e7be351301f38b (diff)
downloadjquery-1fb2f92c357b985a5ba18d0938edd27b5f64d8c3.tar.gz
jquery-1fb2f92c357b985a5ba18d0938edd27b5f64d8c3.zip
Fix #3827. Get the correct checkbox status for a click handler.
Diffstat (limited to 'test/unit/manipulation.js')
-rw-r--r--test/unit/manipulation.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js
index f08e7bd90..1d0dc4538 100644
--- a/test/unit/manipulation.js
+++ b/test/unit/manipulation.js
@@ -100,7 +100,7 @@ var testWrap = function(val) {
ok( checkbox.checked, "Checkbox's state is erased after wrap() action, see #769" );
jQuery(checkbox).wrap(val( "<div id='c1' style='display:none;'></div>" ));
ok( checkbox.checked, "Checkbox's state is erased after wrap() action, see #769" );
- }).click();
+ }).prop( "checked", false )[0].click();
// using contents will get comments regular, text, and comment nodes
var j = jQuery("#nonnodes").contents();