Changed off canvas menu reservation links
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 30 Oct 2015 16:51:14 +0000 (12:51 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 30 Oct 2015 16:51:14 +0000 (12:51 -0400)
js/app.js
js/custom/pageSetup.js

index ad3f91e..fae2d56 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -95,13 +95,12 @@ $(document).ready(function () {
     y = today.getFullYear();
     requiredDate = m + '/' + d + '/' + y;
     $("#date2").val(requiredDate);
-    alert($("#date2").val());
     $("#date2").datepicker({
         onSelect: function (date) {
             departure = $("#date2").val();
         }
     });
-    $(".page_item.page-item-150.current_page_item").find('a[href]').attr("href", "#").attr('onclick', "document.form.submit()");
+    $(".page_item.page-item-150.current_page_item").find('a[href]').attr("href", "#").attr('onclick', "document.form.submit();");
     // off canvas menu values /////////////////////////
     $('#offGuests').blur(function () {
         guests = $('#offGuests').val();
index c4854b1..9ac4af6 100644 (file)
@@ -86,13 +86,12 @@ $(document).ready(function () {
     y = today.getFullYear();
     requiredDate = m + '/' + d + '/' + y;
     $("#date2").val(requiredDate);
-    alert($("#date2").val());
     $("#date2").datepicker({
         onSelect: function (date) {
             departure = $("#date2").val();
         }
     });
-    $(".page_item.page-item-150.current_page_item").find('a[href]').attr("href", "#").attr('onclick', "document.form.submit()");
+    $(".page_item.page-item-150.current_page_item").find('a[href]').attr("href", "#").attr('onclick', "document.form.submit();");
     // off canvas menu values /////////////////////////
     $('#offGuests').blur(function () {
         guests = $('#offGuests').val();