New alert system

This commit is contained in:
Michał Gdula 2022-08-01 14:09:53 +01:00
parent 41667bff0a
commit 9fd958648b
9 changed files with 141 additions and 57 deletions

5
scripts/alert.js Normal file
View file

@ -0,0 +1,5 @@
let alertClose = document.querySelectorAll(".alert");
function closeAlert(aaaa) {
aaaa.closest(".alert").style.display="none";
};