Removed unused custom validation

This commit is contained in:
Socks 2018-02-16 05:27:25 +00:00
parent 16f75683ab
commit b111523e3e

View file

@ -15,12 +15,4 @@ $(function() {
e.preventDefault();
});
});
function check(input) {
if (input.value != document.getElementById('password').value) {
input.setCustomValidity('Password Must be Matching.');
} else {
// input is valid -- reset the error message
input.setCustomValidity('');
}}
});