removing the input field value for the departure datepicker field in the off canvas...
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 28 Jul 2016 18:31:32 +0000 (14:31 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 28 Jul 2016 18:31:32 +0000 (14:31 -0400)
js/app.js
js/custom/pageSetup.js

index 7067394..edb9b75 100644 (file)
--- 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,
index e3dba70..d3dd73c 100644 (file)
@@ -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,