From b2302f806790306c6df5d71f2306dfec6bad7944 Mon Sep 17 00:00:00 2001 From: Raven Scott Date: Fri, 29 Nov 2024 20:12:02 -0500 Subject: [PATCH] fix duplicate modal --- app.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app.js b/app.js index 94fc0d4..01cdc5e 100644 --- a/app.js +++ b/app.js @@ -335,6 +335,9 @@ function renderContainers(containers) { // Add event listeners for action buttons addActionListeners(row, container); + // Add event listener for duplicate button + const duplicateBtn = row.querySelector('.action-duplicate'); + duplicateBtn.addEventListener('click', () => openDuplicateModal(container)); }); }