From b3a16f81c8c9d87e715649ee9ccd05d2c3e49b13 Mon Sep 17 00:00:00 2001 From: Oliver Date: Fri, 3 Oct 2025 10:17:47 -0300 Subject: [PATCH] hmm --- public/buyModal.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/public/buyModal.js b/public/buyModal.js index a31d074..3c00067 100644 --- a/public/buyModal.js +++ b/public/buyModal.js @@ -94,17 +94,8 @@ function createModal() { `; document.body.appendChild(modal); - document.getElementById("closeModal").onclick = () => { modal.style.display = "none"; }; modal.onclick = (e) => { if (e.target === modal) modal.style.display = "none"; }; - - // Close confirmation - modal.querySelector("#closeConfirmation").onclick = () => { - modal.style.display = "none"; - document.getElementById("buyForm").style.display = "flex"; - document.getElementById("confirmation").style.display = "none"; - }; - return modal; }