mirror of
https://github.com/kmitresse/Cards-Rush.git
synced 2026-07-09 13:27:45 +00:00
fix: devWeb - profile: remove style is-danger on input when notification close
This commit is contained in:
@@ -161,7 +161,10 @@
|
|||||||
notification.appendChild(notificationMessage);
|
notification.appendChild(notificationMessage);
|
||||||
document.body.appendChild(notification);
|
document.body.appendChild(notification);
|
||||||
console.log("je suis bien dans la fonction mais la notification ne s'affiche pas")
|
console.log("je suis bien dans la fonction mais la notification ne s'affiche pas")
|
||||||
setTimeout(() => notification.remove(), 5010);
|
setTimeout(() => {
|
||||||
|
notification.remove()
|
||||||
|
inputs.forEach(input => input.classList.remove("is-danger"));
|
||||||
|
}, 5010);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user