forked from edward/owl-map
Bigger image from Wikidata item
This commit is contained in:
parent
3f77a1478d
commit
a05542388c
|
@ -276,7 +276,7 @@ function build_item_detail(item) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (item.image_list && item.image_list.length) {
|
if (item.image_list && item.image_list.length) {
|
||||||
popup += `<br><img src="/commons/${item.image_list[0]}">`;
|
popup += `<br><img class="w-100" src="/commons/${item.image_list[0]}">`;
|
||||||
}
|
}
|
||||||
if (item.street_address && item.street_address.length) {
|
if (item.street_address && item.street_address.length) {
|
||||||
popup += `<br><strong>street address</strong><br>${item.street_address[0]["text"]}`;
|
popup += `<br><strong>street address</strong><br>${item.street_address[0]["text"]}`;
|
||||||
|
|
Loading…
Reference in a new issue