From: Anthony Talarico Date: Tue, 10 Nov 2015 15:02:48 +0000 (-0500) Subject: Removed departure date population from other sections of code X-Git-Tag: v1.0.0^2~318 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=c633ef51396d6bbc63ce72bcba75d79eaa3a26d8;p=WP-Themes%2Fstaffords.git Removed departure date population from other sections of code --- diff --git a/js/app.js b/js/app.js index aa78eaa..5e5f1ca 100644 --- a/js/app.js +++ b/js/app.js @@ -56,7 +56,7 @@ $(document).ready(function () { if (requiredDate < $('#arriveOff').attr("min")) { minDays = $('#arriveOff').attr("min"); $("#arriveOff").val(minDays); - $("#departOff").val($('#departOff').attr("min")); + //$("#departOff").val($('#departOff').attr("min")); } else { d = currentDate.getDate() + 1; if (d <= 9) { diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 4f63de6..d915611 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -47,7 +47,7 @@ $(document).ready(function () { if (requiredDate < $('#arriveOff').attr("min")) { minDays = $('#arriveOff').attr("min"); $("#arriveOff").val(minDays); - $("#departOff").val($('#departOff').attr("min")); + //$("#departOff").val($('#departOff').attr("min")); } else { d = currentDate.getDate() + 1; if (d <= 9) {