Adjusted min date range for off canvas reservation form
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 10 Nov 2015 14:19:54 +0000 (09:19 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 10 Nov 2015 14:19:54 +0000 (09:19 -0500)
js/app.js
js/custom/pageSetup.js

index 7100bb2..102ab2d 100644 (file)
--- 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;
             }
index a78c339..c3302f9 100644 (file)
@@ -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;
             }