Fix map popups

This commit is contained in:
Ben Goldsworthy 2022-11-28 14:56:38 -06:00
parent fba43fa926
commit e71062953e

View file

@ -106,7 +106,7 @@
@endif
popupMarkup = `<h2 class="popup__title">{!! $checkin->title ?? "<i>Untitled</i>" !!}</h2>`;
popupMarkup += $popupContent;
popupMarkup += `{!! $popupContent !!}`;
popupMarkup += '<img class="popup__image" src="{{ $checkin->image_url }}">';
marker.bindPopup(popupMarkup).openPopup();