Fix line-breaks-in-note bug
This commit is contained in:
parent
e58b650eb1
commit
7fb2e755b6
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@
|
|||
marker = L.marker([{{ $checkin->location->latitude }}, {{ $checkin->location->longitude }}]).addTo(map);
|
||||
|
||||
popupMarkup = '<h2 class="popup__title">{{ $checkin->title ?? "No Title" }}</h2>';
|
||||
popupMarkup += '<p class="popup__note">{{ $checkin->note }}</p>';
|
||||
popupMarkup += `<p class="popup__note">{{ $checkin->note }}</p>`;
|
||||
popupMarkup += '<img class="popup__image" src="{{ $checkin->image_url }}">';
|
||||
marker.bindPopup(popupMarkup).openPopup();
|
||||
|
||||
|
|
Loading…
Reference in a new issue