master
parent
6b447fe592
commit
b887e03dee
|
@ -144,7 +144,7 @@ function initMap() {
|
|||
locationElement.html(locationElement.html().replace('$title', item.title));
|
||||
locationElement.html(locationElement.html().replace('data-src="$image"', 'src="' + item.image + '"'));
|
||||
locationElement.html(locationElement.html().replace('data-href="$path"', 'href="' + item.path + '"'));
|
||||
locationElement.html(locationElement.html().replace('$postalCode', (item.location.postalCode + " " + (item.location.addressLocality ?? "")).trim()));
|
||||
locationElement.html(locationElement.html().replace('$postalCode', (item[textToSlug(locationField)].postalCode + " " + (item[textToSlug(locationField)].addressLocality ?? "")).trim()));
|
||||
locationElement.removeClass('d-none');
|
||||
|
||||
if (item[textToSlug(tagField)]) item[textToSlug(tagField)].slice(0, 2).forEach(function (besonderheitenItem) {
|
||||
|
|
Loading…
Reference in New Issue