close
This commit is contained in:
@@ -111,7 +111,10 @@ function createModal() {
|
|||||||
|
|
||||||
// Close modal
|
// Close modal
|
||||||
document.getElementById("closeModal").onclick = () => { document.getElementById("buyNowModal").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";
|
||||||
|
document.getElementById("buyNowModal").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"; };
|
||||||
|
|
||||||
return modal;
|
return modal;
|
||||||
|
|||||||
Reference in New Issue
Block a user