From: Anthony Talarico Date: Thu, 28 Jul 2016 18:31:32 +0000 (-0400) Subject: removing the input field value for the departure datepicker field in the off canvas... X-Git-Tag: v1.0.0^2~238 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=80af95a23938816e0bd1583d5bdb5df1edca1ab7;p=WP-Themes%2Fpetoskeyarea.git removing the input field value for the departure datepicker field in the off canvas booking widget form --- diff --git a/js/app.js b/js/app.js index 7067394..edb9b75 100644 --- a/js/app.js +++ b/js/app.js @@ -70,6 +70,7 @@ $(document).ready(function () { var off_canvas_departure = $(".right-off-canvas-menu").find("#end-date"); $(off_canvas_arrival).removeClass("date-pick").removeAttr("onclick").removeAttr("value"); + $(off_canvas_departure).removeClass("date-pick").removeAttr("onclick").removeAttr("value"); $(off_canvas_arrival).datepicker({ minDate: 0, diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index e3dba70..d3dd73c 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -61,6 +61,7 @@ $(document).ready(function () { var off_canvas_departure = $(".right-off-canvas-menu").find("#end-date"); $(off_canvas_arrival).removeClass("date-pick").removeAttr("onclick").removeAttr("value"); + $(off_canvas_departure).removeClass("date-pick").removeAttr("onclick").removeAttr("value"); $(off_canvas_arrival).datepicker({ minDate: 0,