From: Anthony Talarico Date: Thu, 21 Jan 2016 18:40:33 +0000 (-0500) Subject: testing off canvas date functionality X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=bae3dbc66a48372f4aefe1fb42ed9265a310b67d;p=WP-Themes%2Fglmthemes%2Fsaultstemarie-theme.git testing off canvas date functionality --- diff --git a/js/app.js b/js/app.js index 18ee09a..aa64c1e 100644 --- a/js/app.js +++ b/js/app.js @@ -168,8 +168,7 @@ $(document).ready(function () { minDays = $("#arriveOff").attr("min"); $("#arriveOff").val(minDays); } - $("#departOff").val(minDays); - +// $("#departOff").val(minDays); }); // restrict departure date /////////////////////////////// @@ -178,15 +177,5 @@ $(document).ready(function () { currentDate2 = new Date(currentDate2); currentDate2 = new Date(currentDate2.getUTCFullYear(), currentDate2.getUTCMonth(),currentDate2.getUTCDate()); currentDate2.setDate(currentDate2.getDate()); - alert(currentDate2); - - - - }); - - - - - }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index b725cae..49dde93 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -159,8 +159,7 @@ $(document).ready(function () { minDays = $("#arriveOff").attr("min"); $("#arriveOff").val(minDays); } - $("#departOff").val(minDays); - +// $("#departOff").val(minDays); }); // restrict departure date /////////////////////////////// @@ -169,15 +168,5 @@ $(document).ready(function () { currentDate2 = new Date(currentDate2); currentDate2 = new Date(currentDate2.getUTCFullYear(), currentDate2.getUTCMonth(),currentDate2.getUTCDate()); currentDate2.setDate(currentDate2.getDate()); - alert(currentDate2); - - - - }); - - - - - });