projects
/
WP-Themes
/
visitbenzie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7ac4e4
)
setting the read more link on city hover
author
Anthony Talarico
<talarico@gaslightmedia.com>
Thu, 30 Aug 2018 15:45:18 +0000
(11:45 -0400)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Thu, 30 Aug 2018 15:45:18 +0000
(11:45 -0400)
parts/benzie-map.php
patch
|
blob
|
history
diff --git
a/parts/benzie-map.php
b/parts/benzie-map.php
index
510b544
..
a5a40d4
100644
(file)
--- 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");
}