Browse Source

Update custom.js

ota
Xose Pérez 6 years ago
committed by GitHub
parent
commit
426aafd5b3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/html/custom.js

+ 1
- 1
code/html/custom.js View File

@ -170,7 +170,7 @@ function validateFormPasswords(form) {
adminPass2 = passwords.last().val(); adminPass2 = passwords.last().val();
var formValidity = passwords.first()[0].checkValidity(); var formValidity = passwords.first()[0].checkValidity();
if (formValidity && (adminPass1.length === 0 && adminPass2.length === 0)) {
if (formValidity && (adminPass1.length === 0) && (adminPass2.length === 0)) {
return true; return true;
} }


Loading…
Cancel
Save