diff --git a/S2/DevWeb/Projet/src/main/webapp/WEB-INF/tags/forms/profile.tag b/S2/DevWeb/Projet/src/main/webapp/WEB-INF/tags/forms/profile.tag index bf51de8..7fce5ef 100644 --- a/S2/DevWeb/Projet/src/main/webapp/WEB-INF/tags/forms/profile.tag +++ b/S2/DevWeb/Projet/src/main/webapp/WEB-INF/tags/forms/profile.tag @@ -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); } /**