Fixing off canvas date input restrictions
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 10 Nov 2015 14:17:00 +0000 (09:17 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 10 Nov 2015 14:17:00 +0000 (09:17 -0500)
js/app.js
js/custom/pageSetup.js

index b78478c..7100bb2 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -68,7 +68,7 @@ $(document).ready(function () {
             }
             y = currentDate.getFullYear();
             requiredDate = y + '-' + m + '-' + d;
-            $("#dateOff2").val(requiredDate);
+            $("#departOff").val(requiredDate);
         }
         
     });
index c699443..a78c339 100644 (file)
@@ -59,7 +59,7 @@ $(document).ready(function () {
             }
             y = currentDate.getFullYear();
             requiredDate = y + '-' + m + '-' + d;
-            $("#dateOff2").val(requiredDate);
+            $("#departOff").val(requiredDate);
         }
         
     });