close
This commit is contained in:
1 parent
4aea655837
commit
f72690988e
1 file changed
+4
-1
+4
-1
@@ -111,7 +111,10 @@ function createModal() {
|
||||
|
||||
// Close modal
|
||||
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"; };
|
||||
|
||||
return modal;
|
||||
|
||||
Reference in new issue
Block a user