From b111523e3e34bf269f10069234339f912a09d978 Mon Sep 17 00:00:00 2001 From: Socks Date: Fri, 16 Feb 2018 05:27:25 +0000 Subject: [PATCH] Removed unused custom validation --- static/index.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/static/index.js b/static/index.js index b967042..3bcf498 100644 --- a/static/index.js +++ b/static/index.js @@ -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(''); -}} \ No newline at end of file +}); \ No newline at end of file