diff --git a/php/public/forms.js b/php/public/forms.js index c3cd3c85..04fa4b0a 100644 --- a/php/public/forms.js +++ b/php/public/forms.js @@ -41,7 +41,7 @@ function showPassword() { var Password = document.getElementById("Password"); - if (Password.value !== "" && x.type === "password") { + if (Password.value !== "" && Password.type === "password") { Password.type = "text"; } else { Password.type = "password";