From: Anthony Talarico Date: Thu, 14 Jun 2018 19:14:51 +0000 (-0400) Subject: adding javascript to link the marinas locations on the front page to the marinas... X-Git-Tag: v1.0.0^2~3 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=96a9d746be4166befd5467d4f7d62c899b5d5ee4;p=WP-Themes%2Fworknbites.git adding javascript to link the marinas locations on the front page to the marinas location page --- 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(); });