Fix CaseStudy serialisation..

..by ensuring CS images are serialised correctly
This commit is contained in:
Carl van Tonder
2018-05-30 14:21:48 -04:00
parent 2bb7ea5561
commit c32ddf1abb
2 changed files with 13 additions and 3 deletions

View File

@ -145,7 +145,7 @@ function getLabelClass(pos_or_neg) {
function popup(feature, layer) {
layer.bindPopup(
"<img src='"+feature.properties.image+"' width='100%'>"+
"<img src='"+feature.properties.images[0].file+"' width='100%'>"+
"<div class='popup-head'>"+
"<h5>"+feature.properties.entry_name+"</h5>" +
"<i>"+feature.properties.country_name+"</i>"+