mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-08-26 06:01:49 +02:00
Fix supporting information
This commit is contained in:
parent
b29ce581d2
commit
94cb411297
@ -106,11 +106,11 @@ class DOI {
|
|||||||
};
|
};
|
||||||
static fromString(str){
|
static fromString(str){
|
||||||
const vals=str.split(",")
|
const vals=str.split(",")
|
||||||
if (vals.length>1) {
|
if (vals.length==1) {
|
||||||
return new DOI(vals[0].toString())
|
return new DOI(vals[0].toString())
|
||||||
}
|
}
|
||||||
else{
|
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() {
|
toString() {
|
||||||
|
Loading…
Reference in New Issue
Block a user