Skip to content

Commit

Permalink
Fix bug in #149 fix!
Browse files Browse the repository at this point in the history
  • Loading branch information
iadawn committed Apr 6, 2023
1 parent bba0674 commit eb5fc0a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions _includes/wai-authoring-tools-list/js/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ function getPreviewSubmission() {
})
})

overlayContent.querySelectorAll('.button-submit_form').addEventListener('click', e => {
dataForm.submit();
overlayContent.querySelectorAll('.button-submit_form').forEach(el => {
el.addEventListener('click', e => {
dataForm.submit();
})
})

overlay.style.display = "flex";
Expand Down

0 comments on commit eb5fc0a

Please sign in to comment.