From aa9f7a889fe980f29baab9bf9f08efdc80b92bcc Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Tue, 10 Nov 2015 09:19:54 -0500 Subject: [PATCH] Adjusted min date range for off canvas reservation form --- 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 7100bb2..102ab2d 100644 --- a/js/app.js +++ b/js/app.js @@ -58,7 +58,7 @@ $(document).ready(function () { $("#arriveOff").val(minDays); $("#departOff").val($('#departOff').attr("min")); } else { - d = currentDate.getDate() + 2; + d = currentDate.getDate() + 1; if (d <= 9) { d = '0' + d; } diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index a78c339..c3302f9 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -49,7 +49,7 @@ $(document).ready(function () { $("#arriveOff").val(minDays); $("#departOff").val($('#departOff').attr("min")); } else { - d = currentDate.getDate() + 2; + d = currentDate.getDate() + 1; if (d <= 9) { d = '0' + d; } -- 2.17.1