Skip to content

Commit

Permalink
label click event fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Amy Chen committed May 2, 2024
1 parent 1f82e32 commit aa90540
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions portal/static/js/src/empro.js
Expand Up @@ -284,9 +284,7 @@ emproObj.prototype.initOptOutElementEvents = function () {
EmproObj.setOptoutError("");
var domain = $(this).attr("data-domain");
var associatedCkInput = $("#emproOptOutModal .ck-input-" + domain);
if (associatedCkInput.is(":checked"))
associatedCkInput.prop("checked", false);
else associatedCkInput.prop("checked", true);
associatedCkInput.trigger("click");
});

// continue button that displays when error
Expand Down

0 comments on commit aa90540

Please sign in to comment.