From 426aafd5b30b6e39aafc945fa84a91938710a789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Sun, 7 Oct 2018 12:34:18 +0200 Subject: [PATCH] Update custom.js --- code/html/custom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/html/custom.js b/code/html/custom.js index d61f7c8f..43574658 100644 --- a/code/html/custom.js +++ b/code/html/custom.js @@ -170,7 +170,7 @@ function validateFormPasswords(form) { adminPass2 = passwords.last().val(); var formValidity = passwords.first()[0].checkValidity(); - if (formValidity && (adminPass1.length === 0 && adminPass2.length === 0)) { + if (formValidity && (adminPass1.length === 0) && (adminPass2.length === 0)) { return true; }