Skip to content

Commit

Permalink
Run openOneFormModal
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcarol committed Dec 13, 2024
1 parent bfd6d07 commit a82bcc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eds/blocks/form/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default async function decorate(block) {
const cardModalContent = a({ class: 'card-modal-content' }, cardContent);
cardModalContent.addEventListener('click', () => {
block.classList.add('modal-active');
window.openOneFormModal();
});
block.replaceChildren(
formDiv,
Expand Down

0 comments on commit a82bcc9

Please sign in to comment.