Added more changes to date validation
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 2 Nov 2015 19:56:43 +0000 (14:56 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 2 Nov 2015 19:56:43 +0000 (14:56 -0500)
js/app.js
js/custom/pageSetup.js

index df94e2b..f45f690 100644 (file)
--- 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");
         }
index ec0d84f..62ef630 100644 (file)
@@ -70,7 +70,6 @@ $(document).ready(function () {
     
     $("#dateOff1").change(function () {
         currentDate = this.value;
-        $("#dateOff1").val(currentDate);
         if (currentDate !== requiredDate) {
             alert("boo hiss");
         }