Commit 9771df54e6e6af058e2206b400d84f88d3686e33

Authored by Jean Wasilewski
1 parent 74ea971e

Forgot selectors

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
connect.php
... ... @@ -39,11 +39,11 @@ $("#afficherMotDePasse")[0].addEventListener('mousedown', function()
39 39 {
40 40 $('#entrer_mot_de_passe_3')[0].type = 'text';
41 41 });
42   -$('#afficherMotDePasse').addEventListener('mouseup', function()
  42 +$('#afficherMotDePasse')[0].addEventListener('mouseup', function()
43 43 {
44 44 $('#entrer_mot_de_passe_3')[0].type = 'password';
45 45 });
46   -$('#validCreds')addEventListener('click', function()
  46 +$('#validCreds')[0].addEventListener('click', function()
47 47 {
48 48 $("#validCreds")[0].disabled=true;
49 49 });
... ...