From: Anthony Talarico Date: Mon, 2 Nov 2015 19:56:43 +0000 (-0500) Subject: Added more changes to date validation X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=c3d460e0f1bcfdf5f86f17f0ade55f73ab1975f4;p=WP-Themes%2Fglmthemes%2Fbpla-theme.git Added more changes to date validation --- diff --git a/js/app.js b/js/app.js index df94e2b..f45f690 100644 --- a/js/app.js +++ b/js/app.js @@ -79,7 +79,6 @@ $(document).ready(function () { $("#dateOff1").change(function () { currentDate = this.value; - $("#dateOff1").val(currentDate); if (currentDate !== requiredDate) { alert("boo hiss"); } diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index ec0d84f..62ef630 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -70,7 +70,6 @@ $(document).ready(function () { $("#dateOff1").change(function () { currentDate = this.value; - $("#dateOff1").val(currentDate); if (currentDate !== requiredDate) { alert("boo hiss"); }