This commit is contained in:
Oliver
2025-10-03 11:00:38 -03:00
parent 3c94fb782f
commit 59501a259e

View File

@@ -97,7 +97,7 @@ function createModal() {
document.body.appendChild(modal); document.body.appendChild(modal);
// Close 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"; }; document.getElementById("closeConfirmation").onclick = () => { document.getElementById("confirmation").style.display = "none"; };
modal.onclick = (e) => { if (e.target === modal) modal.style.display = "none"; }; modal.onclick = (e) => { if (e.target === modal) modal.style.display = "none"; };