This commit is contained in:
Tykayn 2022-12-17 12:12:34 +01:00 committed by tykayn
parent 3e7cb3c7ae
commit 01767971dc

View File

@ -989,7 +989,7 @@ function displayPointsFromApi(points) {
}
if (typeof feature.properties.tags['cuisine'] !== typeof undefined && feature.properties.tags['cuisine'].length) {
cuisine = ' - cuisine: ' + (feature.properties.tags['cuisine'] | '');
cuisine = ` - cuisine: ${feature.properties.tags['cuisine'] | ''}`;
}
let html = '<a href="https://www.openstreetmap.org/' + feature.id + '"> ' + rest_name + ' ' + cuisine + '</a>' +