From 96a9d746be4166befd5467d4f7d62c899b5d5ee4 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 14 Jun 2018 15:14:51 -0400 Subject: [PATCH] adding javascript to link the marinas locations on the front page to the marinas location page --- header.php | 3 +-- js/custom.js | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/header.php b/header.php index 35dcca0..f04ccf0 100644 --- a/header.php +++ b/header.php @@ -23,8 +23,7 @@ diff --git a/js/custom.js b/js/custom.js index a6e7f53..b4a4107 100644 --- a/js/custom.js +++ b/js/custom.js @@ -151,6 +151,8 @@ jQuery(document).ready(function($){ } $('.portfolio-listing').first().children('.portfolio-list').on("click", function(e){ + console.log(window['pages'].marinas) + window.location = window['pages'].marinas; e.preventDefault(); }); -- 2.17.1