From 59501a259e86764990bef71202f73b22634beec2 Mon Sep 17 00:00:00 2001 From: Oliver Date: Fri, 3 Oct 2025 11:00:38 -0300 Subject: [PATCH] ass --- public/buyModal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/buyModal.js b/public/buyModal.js index 2f12bd3..19ca2d8 100644 --- a/public/buyModal.js +++ b/public/buyModal.js @@ -97,7 +97,7 @@ function createModal() { document.body.appendChild(modal); // Close modal - document.getElementById("closeModal").onclick = () => { modal.style.display = "none"; }; + document.getElementById("closeModal").onclick = () => { document.getElementById("buyNowModal").style.display = "none"; }; document.getElementById("closeConfirmation").onclick = () => { document.getElementById("confirmation").style.display = "none"; }; modal.onclick = (e) => { if (e.target === modal) modal.style.display = "none"; };