From: Anthony Talarico Date: Tue, 10 Nov 2015 14:17:00 +0000 (-0500) Subject: Fixing off canvas date input restrictions X-Git-Tag: v1.0.0^2~325 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=89a9a5506494bd88b7c74fe2441b63522641445b;p=WP-Themes%2Fstaffords.git Fixing off canvas date input restrictions --- 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); } });