ALPHA 3.0.2a

This commit is contained in:
TheGamecraft
2018-09-06 10:09:04 -04:00
parent 3d7c45c2b2
commit d5fe4d6eb6
9 changed files with 277 additions and 44 deletions

29
public/assets/admin/assets/js/user.js vendored Normal file
View File

@@ -0,0 +1,29 @@
function checkPassword() {
var psw = document.getElementById("psw");
var pswc = document.getElementById("pswc");
var psw_alert = document.getElementById("psw_alert");
var submit = document.getElementById("submit");
if (psw.value == pswc.value) {
psw_alert.style.display = "none";
submit.removeAttribute("disabled");
} else {
psw_alert.style.display = "block";
submit.setAttribute("disabled", "disabled");
}
}
function checkEmail() {
var email = document.getElementById("email");
var emailc = document.getElementById("emailc");
var email_alert = document.getElementById("email_alert");
var submit = document.getElementById("submit");
if (email.value == emailc.value) {
email_alert.style.display = "none";
submit.removeAttribute("disabled");
} else {
email_alert.style.display = "block";
submit.setAttribute("disabled", "disabled");
}
}