From a213acbc381c6635a4b5041e66d6a6451327042f Mon Sep 17 00:00:00 2001 From: Marco Fontani Date: Fri, 27 Nov 2015 18:27:54 +0100 Subject: [PATCH] Revert "apparently, one must check whether a checkbox is checked or not using .prop() and no longer with .attr(), since jQuery 1.6+" The commit was right, _but_ act uses jQuery 1.3.2 which doesn't support prop() and therefore attr() is correct to be used. This reverts commit 0f91e321a04b3262657ca63dcfdf74e61bc82a4f. --- templates/js/mytalks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/js/mytalks.js b/templates/js/mytalks.js index 81cce65bb..559bc64ff 100644 --- a/templates/js/mytalks.js +++ b/templates/js/mytalks.js @@ -31,7 +31,7 @@ if (window.act) { $(function() { $(".mytalks_submit").remove(); $(":checkbox").each(function() { - toggle_image(this, $(this).val(), $(this).prop("checked")); + toggle_image(this, $(this).val(), $(this).attr("checked")); }); }); }