fix: devWeb - profile: remove style is-danger on input when notification close

This commit is contained in:
kmitresse
2024-04-27 14:16:32 +02:00
parent 3dee1159ef
commit bed252ed80
@@ -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);
}
/**