mirror of
https://github.com/kmitresse/Cards-Rush.git
synced 2026-05-13 17:11:49 +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);
|
||||
document.body.appendChild(notification);
|
||||
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