it seemed like i did more than this but evidently that wasn't the case
This commit is contained in:
parent
14b6d91b84
commit
9efe7e14ec
1 changed files with 3 additions and 1 deletions
|
@ -81,7 +81,9 @@ function attempt_register() {
|
|||
fields[x.id.substr(4)] = x.value.trim();
|
||||
});
|
||||
|
||||
if(fields["pwd"] === fields["conf-pwd"])
|
||||
if(fields["pwd"] !== fields["conf-pwd"]) {
|
||||
error.innerHTML = "";
|
||||
}
|
||||
|
||||
|
||||
for_each(lock_fields, x => x.disabled = true);
|
||||
|
|
Loading…
Reference in a new issue