modules and payments management, bug fixes

This commit is contained in:
Ivan
2024-01-21 01:09:36 +03:00
parent 983a579dc8
commit fdd2308437
13 changed files with 1853 additions and 52 deletions

View File

@@ -30,9 +30,11 @@ class Notifications {
notiEl.classList.add("out");
notiEl.addEventListener("animationend", () => {
notiEl.remove();
document.querySelector(".notifications").style.zIndex = 2;
});
} else {
notiEl.remove();
document.querySelector(".notifications").style.zIndex = 2;
}
}
@@ -53,6 +55,8 @@ class Notifications {
notiCardEl.appendChild(titleEl);
notiCardEl.appendChild(descriptionEl);
document.querySelector(".notifications").style.zIndex = 5;
this.el.appendChild(notiEl);
console.log("height", notiCardEl.scrollHeight);
@@ -87,6 +91,7 @@ class Notifications {
notiEl.classList.add("out");
notiEl.addEventListener("animationend", () => {
notiEl.remove();
document.querySelector(".notifications").style.zIndex = 2;
});
}, duration * 1000);
}