Removing specifying type in index.html
This commit is contained in:
parent
c53a31a32f
commit
f9ef59bc9c
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
var password = document.getElementById("password");
|
||||
var confirm_password = document.getElementById("confirmPassword");
|
||||
const password = document.getElementById("password");
|
||||
const confirm_password = document.getElementById("confirmPassword");
|
||||
function validatePassword(){
|
||||
if(password.value != confirm_password.value) {
|
||||
confirm_password.setCustomValidity("Passwords Don't Match");
|
||||
|
|
Loading…
Reference in a new issue