From af941be1bea7a345f22e09fb3ad39c7827f7711a Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 29 Oct 2015 16:38:35 -0400 Subject: [PATCH] Changed reservation file name to 150 --- js/app.js | 19 +------------------ js/custom/pageSetup.js | 4 +--- page-118.php => page-150.php | 0 3 files changed, 2 insertions(+), 21 deletions(-) rename page-118.php => page-150.php (100%) diff --git a/js/app.js b/js/app.js index 4c125d6..d25bd0a 100644 --- a/js/app.js +++ b/js/app.js @@ -42,28 +42,11 @@ $(document).ready(function () { // get the url to determine the page location page = $(location).attr('pathname'); - // if current page is NOT reservation change submit to regular button to nav to reservation page - /* if (page.indexOf("reservation") <= 0) { - $("#resBtn").prop("type", 'button'); - $("#resBtn").prop("id", "btn"); - $("#offResBtn").prop("type", 'button'); - $("#offResBtn").prop("id", "offBtn"); - } */ // remove featured image from reservation page and trigger form submission to iframe if (page.indexOf("reservation") >= 0) { $("#head-img").remove(); - /* $(document).ready(function () { - $("#resBtn").trigger("click"); - }); */ + } - // navigate to reservation page - // $('#btn').click(function () { - // window.location.href = "reservation"; - //}); - //$('#offBtn').click(function () { - // window.location.href = "reservation"; - - // }); // save guest input $('#guests').blur(function () { diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 5fc2c85..d8281a4 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -36,9 +36,7 @@ $(document).ready(function () { // remove featured image from reservation page and trigger form submission to iframe if (page.indexOf("reservation") >= 0) { $("#head-img").remove(); - /* $(document).ready(function () { - $("#resBtn").trigger("click"); - }); */ + } // save guest input diff --git a/page-118.php b/page-150.php similarity index 100% rename from page-118.php rename to page-150.php -- 2.17.1