diff --git a/front/src/subscribeValidation.js b/front/src/subscribeValidation.js index 8823635..4201c83 100644 --- a/front/src/subscribeValidation.js +++ b/front/src/subscribeValidation.js @@ -26,7 +26,7 @@ const { notRequired, serverError } = require("../../lang/"+lang+"/general"); const { alreadyConnected, badLinkValidationMessage, godfatherFound, godfatherNotFound, passwordCopied, validationMessage } = require("../../lang/"+lang+"/user"); // Principaux éléments du DOM manipulés : -const codeGodfatherInput=document.getElementById("codeGodfather"); +//const codeGodfatherInput=document.getElementById("codeGodfather"); const divExplanations = document.getElementById("explanations"); const divMessage = document.getElementById("message"); const divResponse = document.getElementById("response"); @@ -110,7 +110,8 @@ const initialise = async () => document.execCommand("copy"); addElement(passwordHelp, "div", passwordCopied, "", ["success"]); }); - + + /* // Vérifie que le code/e-mail de parrainage saisi est valide : codeGodfatherInput.addEventListener("blur", function(e) { @@ -138,7 +139,7 @@ const initialise = async () => codeGodfatherInput.addEventListener("focus", function(e) { addElement(document.getElementById("codeGodfatherMessage"), "i", notRequired); - }); + });*/ // Traite de l'envoi d'une mise à jour des infos : formAccount.addEventListener("submit", function(e)