it seemed like i did more than this but evidently that wasn't the case

This commit is contained in:
Alec Obradovich 2018-11-29 06:47:01 -06:00
parent 14b6d91b84
commit 9efe7e14ec

View file

@ -81,7 +81,9 @@ function attempt_register() {
fields[x.id.substr(4)] = x.value.trim(); 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); for_each(lock_fields, x => x.disabled = true);