mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-16 12:40:07 -04:00
Added alt tag
This commit is contained in:
@@ -77,7 +77,7 @@ function showMap(placesmap) {
|
||||
var link = "<p><a href='/plantings/" + p.attributes.slug + "'>" + p.attributes['crop-name'] + "</a></p>";
|
||||
var where = "<p><i>" + p.attributes.location + "</i></p>";
|
||||
if (p.attributes['thumbnail']) {
|
||||
where += '<img src="' + p.attributes['thumbnail'] + '">';
|
||||
where += '<img src="' + p.attributes['thumbnail'] + ' alt="photo of planting">';
|
||||
}
|
||||
marker.bindPopup(link + where).openPopup();
|
||||
markers.addLayer(marker);
|
||||
|
||||
Reference in New Issue
Block a user