Commit d8889b3fada1765fafbbc4f2644e1f4f7dd28c55

Authored by Jean Wasilewski
1 parent 015a776d

Issue with document.location.reload

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
@@ -51,7 +51,7 @@ $('#validCreds')[0].addEventListener('click', function() @@ -51,7 +51,7 @@ $('#validCreds')[0].addEventListener('click', function()
51 checkPath += "&pass="; 51 checkPath += "&pass=";
52 checkPath += Whirlpool($("#entrer_mot_de_passe_3")[0].value); 52 checkPath += Whirlpool($("#entrer_mot_de_passe_3")[0].value);
53 if(file(checkPath)=="Yep") 53 if(file(checkPath)=="Yep")
54 - document.location.reload(); 54 + document.location.replace("");
55 else 55 else
56 alert("Mauvais identifiants"); 56 alert("Mauvais identifiants");
57 $("#validCreds")[0].disabled=false; 57 $("#validCreds")[0].disabled=false;