You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: html/map.html
+15-3Lines changed: 15 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -126,9 +126,21 @@
126
126
}
127
127
128
128
function_placeHTMLimage(properties){
129
-
return`
130
-
<img src="${properties.food_thumb_path}" alt="Vegan ${properties.cuisine} food at ${properties.name} in ${properties.area}, San Francisco Bay Area" class="food-image-popup">
<img src="${jpegPath}" alt="Vegan ${properties.cuisine} food at ${properties.name} in ${properties.area}, San Francisco Bay Area" class="food-image-popup">
137
+
</picture>
138
+
`;
139
+
}else{
140
+
return`
141
+
<img src="${properties.food_thumb_path}" alt="Vegan ${properties.cuisine} food at ${properties.name} in ${properties.area}, San Francisco Bay Area" class="food-image-popup">
0 commit comments