This commit is contained in:
Dupard
2021-09-09 23:55:45 +02:00
parent 78f8376033
commit 3ba56a592a
5 changed files with 72 additions and 5 deletions

View File

@@ -0,0 +1,10 @@
window.addEventListener("load", function () {
let passwd = this.document.getElementById("passwd");
let passwd_conf = this.document.getElementById("conf_passwd");
passwd_conf.addEventListener("change", function(){
this.style.border += "red";
let error = document.getElementById("error");
error.style.display = "block";
});
});