mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-26 06:14:38 +01:00
Fix publication not shown in select when it's not in sets
This commit is contained in:
parent
13f775a03c
commit
abae66d2b3
@ -125,11 +125,16 @@ draft: false
|
|||||||
var op = $("<option/>", {
|
var op = $("<option/>", {
|
||||||
value: JSON.stringify(val)
|
value: JSON.stringify(val)
|
||||||
})
|
})
|
||||||
if ($(this).attr("name") == "DOI" && sets.has(val.string)) {
|
if ($(this).attr("name") == "DOI") {
|
||||||
|
if (sets.has(val.string)) {
|
||||||
str=sets.get(val.string)
|
str=sets.get(val.string)
|
||||||
if(val.IsSupporting){
|
if(val.IsSupporting){
|
||||||
str+=" (SI)"
|
str+=" (SI)"
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
str=val.toString()
|
||||||
|
}
|
||||||
$(op).text(str)
|
$(op).text(str)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -118,6 +118,7 @@ class DOI {
|
|||||||
if (this.IsSupporting) {
|
if (this.IsSupporting) {
|
||||||
str+=" "+"(SI)"
|
str+=" "+"(SI)"
|
||||||
}
|
}
|
||||||
|
return str
|
||||||
};
|
};
|
||||||
get url() {
|
get url() {
|
||||||
return new URL(this.string, 'https://doi.org').toString()
|
return new URL(this.string, 'https://doi.org').toString()
|
||||||
|
Loading…
Reference in New Issue
Block a user