Skip to content

Commit

Permalink
fixed bug caused by previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacfonner authored Jan 12, 2025
1 parent b8d8ca2 commit aa0478e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ function openModal(program) {
if (program.participants !== undefined) {
detailsHTML += `
<h3>Participation</h3>
<p>${formatParticipants(program.participants)}</p>
<p>${formatParticipants(program.name)}</p>
`;
}

Expand Down Expand Up @@ -520,4 +520,4 @@ document.addEventListener('DOMContentLoaded', () => {

document.querySelector('.modal-prev').addEventListener('click', () => navigateModal(-1));
document.querySelector('.modal-next').addEventListener('click', () => navigateModal(1));
});
});

0 comments on commit aa0478e

Please sign in to comment.