diff --git a/app/components/workflow-review/index.js b/app/components/workflow-review/index.js index 55cf0986..bfceb6dc 100644 --- a/app/components/workflow-review/index.js +++ b/app/components/workflow-review/index.js @@ -122,17 +122,6 @@ export default class WorkflowReview extends Component { input: 'checkbox', inputPlaceholder: "I agree to the above statement on today's date ", confirmButtonText: 'Next →', - onOpen: function () { - const checkbox = document.getElementById('swal2-checkbox'); - swal.disableConfirmButton(); - checkbox.addEventListener('click', function (e) { - if (e.target.checked) { - swal.enableConfirmButton(); - } else { - swal.disableConfirmButton(); - } - }); - }, progressSteps: reposWithAgreementText.map((repo, index) => index + 1), }) .queue(reposWithAgreementText);