mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 05:43:46 +01:00
Avoid issue with empty DOI
This commit is contained in:
parent
a6dd840faf
commit
e8c39f0970
@ -494,8 +494,10 @@ draft: false
|
||||
if (PreviousSetName !== CurrentsetName) {
|
||||
$("<h1/>").text(CurrentsetName).appendTo(div)
|
||||
}
|
||||
const doiDat = doiCache.get(doi).format('data', { format: 'object' })[0]
|
||||
$("<h2/>").append($("<a>",{href:doiDat.URL,target:"_blank"}).text(doiDat.title)).appendTo(div)
|
||||
if (doi!=="") {
|
||||
const doiDat = doiCache.get(doi).format('data', { format: 'object' })[0]
|
||||
$("<h2/>").append($("<a>",{href:doiDat.URL,target"_blank"}).text(doiDat.title)).appendTo(div)
|
||||
}
|
||||
var table = $("<table/>").addClass("datatable").appendTo(div)
|
||||
var head = $("<tr/>")
|
||||
$("<thead/>").addClass("sticky").append(head).appendTo(table)
|
||||
|
Loading…
Reference in New Issue
Block a user