mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 13:53:48 +01:00
Fix multipledataset Go to file
This commit is contained in:
parent
f9d6ca2de9
commit
06b39d073d
@ -222,10 +222,11 @@ draft: false
|
||||
else if (d instanceof twoStateDataFileBase) {
|
||||
tableels.splice(3, 0, [d.GS, d.ES])
|
||||
}
|
||||
for (const el of tableels) {
|
||||
td = $("<td/>", {
|
||||
tdtemp=$("<td/>", {
|
||||
style: "white-space: nowrap;"
|
||||
})
|
||||
for (const el of tableels) {
|
||||
td=$(tdtemp).clone()
|
||||
if (trueTypeOf(el) == "doi") {
|
||||
var publi = await window.Cite.async(el.string)
|
||||
$("<a/>", {
|
||||
@ -241,11 +242,10 @@ draft: false
|
||||
}
|
||||
$(row).append(td)
|
||||
}
|
||||
$("<a/>", {
|
||||
$(tdtemp).clone().append($("<a/>", {
|
||||
target: "_blank",
|
||||
innerText: "Go to file",
|
||||
href: await d.sourceFile.getViewerURL()
|
||||
}).appendTo($("<td/>")).appendTo(row)
|
||||
}).text("Go to file")).appendTo(row)
|
||||
$(dtb).append(row)
|
||||
}
|
||||
processingIndicator.isActive = true
|
||||
|
Loading…
Reference in New Issue
Block a user