Removing specifying type in index.html

This commit is contained in:
Jack 2019-01-13 18:05:45 -08:00
parent c53a31a32f
commit f9ef59bc9c

View file

@ -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");