From c6da3f5e1ab82ca62f2b837550a233f8c92b6111 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Mon, 30 Apr 2018 08:14:08 -0400 Subject: [PATCH] adding new links for the bottom portfolio section --- header.php | 6 ++++++ js/custom.js | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/header.php b/header.php index 38f5383..40812bc 100644 --- a/header.php +++ b/header.php @@ -19,6 +19,12 @@ + > diff --git a/js/custom.js b/js/custom.js index 742714c..13a3396 100644 --- a/js/custom.js +++ b/js/custom.js @@ -150,7 +150,11 @@ jQuery(document).ready(function($){ }, 1000 ); } - $('.portfolio-list').on("click", function(e){ + $('.portfolio-listing').first().children('.portfolio-list').on("click", function(e){ e.preventDefault(); }); + let portfolio_bottom = $('.portfolio-listing').last(); + portfolio_bottom.children('a').first().attr('href', 'https://clients.innroad.com/kingsail/property.aspx').attr('target', '_blank'); + portfolio_bottom.children('a:eq(1)').attr('href', window.pages.amenities); + portfolio_bottom.children('a').last().attr('href', window.pages.area); }); \ No newline at end of file -- 2.17.1