From 89a9a5506494bd88b7c74fe2441b63522641445b Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Tue, 10 Nov 2015 09:17:00 -0500 Subject: [PATCH] Fixing off canvas date input restrictions --- js/app.js | 2 +- js/custom/pageSetup.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/app.js b/js/app.js index b78478c..7100bb2 100644 --- 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); } }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index c699443..a78c339 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -59,7 +59,7 @@ $(document).ready(function () { } y = currentDate.getFullYear(); requiredDate = y + '-' + m + '-' + d; - $("#dateOff2").val(requiredDate); + $("#departOff").val(requiredDate); } }); -- 2.17.1