From e599328af2b54c77536ee29f305567a7a859503d Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 30 Aug 2018 11:45:18 -0400 Subject: [PATCH] setting the read more link on city hover --- parts/benzie-map.php | 1 + 1 file changed, 1 insertion(+) diff --git a/parts/benzie-map.php b/parts/benzie-map.php index 510b544..a5a40d4 100644 --- a/parts/benzie-map.php +++ b/parts/benzie-map.php @@ -83,6 +83,7 @@ $js_sites = json_encode($sites); // content.find('.map-image-container img').attr('src', sites[id]['image']); content.find('.map-title-link').html(sites[id]['title']); content.find('.map-page-content').html(sites[id]['excerpt']); + content.find('.map-page-more').attr("href", sites[id]['url']); } catch(e){ console.log("This page doesn't exist or it has the wrong id in the pages array"); } -- 2.17.1