From 72f09e4899bfaf08b3ee248d179e6da08b38c16d Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 28 Jul 2016 16:49:56 -0400 Subject: [PATCH] testing the removal of extraneous code for style to test error in first submission on mobile for the off canvas booking widget --- js/app.js | 34 +++++++++++++++++----------------- js/custom/pageSetup.js | 34 +++++++++++++++++----------------- 2 files changed, 34 insertions(+), 34 deletions(-) diff --git a/js/app.js b/js/app.js index 3fd9dab..1ed6a69 100644 --- a/js/app.js +++ b/js/app.js @@ -76,14 +76,14 @@ $(document).ready(function () { $(off_canvas_arrival).datepicker({ minDate: 0, - beforeShow: function (input, inst) { - setTimeout(function () { - inst.dpDiv.css({ - top: 100, - left: 50 - }); - }, 0); - } +// beforeShow: function (input, inst) { +// setTimeout(function () { +// inst.dpDiv.css({ +// top: 100, +// left: 50 +// }); +// }, 0); +// } }); @@ -93,19 +93,19 @@ $(document).ready(function () { min_date = $(this).datepicker('getDate', '+1d'); min_date.setDate(min_date.getDate() + 1); - $(off_canvas_departure).datepicker('setDate', min_date); +// $(off_canvas_departure).datepicker('setDate', min_date); $(off_canvas_departure).datepicker('option','minDate', min_date ); }); $(off_canvas_departure).datepicker({ - beforeShow: function (input, inst) { - setTimeout(function () { - inst.dpDiv.css({ - top: 100, - left: 50 - }); - }, 0); - } +// beforeShow: function (input, inst) { +// setTimeout(function () { +// inst.dpDiv.css({ +// top: 100, +// left: 50 +// }); +// }, 0); +// } }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index eac776d..fe8471f 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -67,14 +67,14 @@ $(document).ready(function () { $(off_canvas_arrival).datepicker({ minDate: 0, - beforeShow: function (input, inst) { - setTimeout(function () { - inst.dpDiv.css({ - top: 100, - left: 50 - }); - }, 0); - } +// beforeShow: function (input, inst) { +// setTimeout(function () { +// inst.dpDiv.css({ +// top: 100, +// left: 50 +// }); +// }, 0); +// } }); @@ -84,19 +84,19 @@ $(document).ready(function () { min_date = $(this).datepicker('getDate', '+1d'); min_date.setDate(min_date.getDate() + 1); - $(off_canvas_departure).datepicker('setDate', min_date); +// $(off_canvas_departure).datepicker('setDate', min_date); $(off_canvas_departure).datepicker('option','minDate', min_date ); }); $(off_canvas_departure).datepicker({ - beforeShow: function (input, inst) { - setTimeout(function () { - inst.dpDiv.css({ - top: 100, - left: 50 - }); - }, 0); - } +// beforeShow: function (input, inst) { +// setTimeout(function () { +// inst.dpDiv.css({ +// top: 100, +// left: 50 +// }); +// }, 0); +// } }); -- 2.17.1