mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 05:43:46 +01:00
Fix supporting information
This commit is contained in:
parent
b29ce581d2
commit
94cb411297
@ -106,11 +106,11 @@ class DOI {
|
||||
};
|
||||
static fromString(str){
|
||||
const vals=str.split(",")
|
||||
if (vals.length>1) {
|
||||
if (vals.length==1) {
|
||||
return new DOI(vals[0].toString())
|
||||
}
|
||||
else{
|
||||
return new DOI(str[0].toString(),(true ? str[1]=== true.toString() : false))
|
||||
return new DOI(vals[0].toString(),(true ? vals[1]=== true.toString() : false))
|
||||
}
|
||||
}
|
||||
toString() {
|
||||
|
Loading…
Reference in New Issue
Block a user