modules and payments management, bug fixes
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user