add website field to publishers map popup

This commit is contained in:
Aadil Ayub 2023-05-03 14:41:33 +05:00
parent 91f5a092e5
commit 3dcb7712db

View File

@ -64,6 +64,8 @@
return '<video width="320" controls style="padding-bottom: 12px; width: 100%;"><source src="' + objectOrder[key] + '"></video>'
} else if (key === 'audio') {
return '<audio controls style="padding-bottom: 12px; width: 100%;"><source src="' + objectOrder[key] + '"></audio>'
} else if (key === 'website') {
return '<p><strong>website: </strong><a href="'+ objectOrder[key] + '">' + objectOrder[key] + '</a></p>'
} else {
return '<p>' + objectOrder[key] + '</p>'
}