This commit is contained in:
Tykayn 2022-12-17 12:12:34 +01:00 committed by tykayn
parent 3e7cb3c7ae
commit 01767971dc
1 changed files with 1 additions and 1 deletions

View File

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