DOI field in metadata pane wasn't clickable (regression)
This commit is contained in:
parent
9318d2ad3e
commit
765ee61c4c
1 changed files with 1 additions and 1 deletions
|
@ -452,7 +452,7 @@
|
||||||
label.setAttribute("onclick", "ZoteroPane.loadURI(this.nextSibling.firstChild ? this.nextSibling.firstChild.nodeValue : this.nextSibling.value, event)");
|
label.setAttribute("onclick", "ZoteroPane.loadURI(this.nextSibling.firstChild ? this.nextSibling.firstChild.nodeValue : this.nextSibling.value, event)");
|
||||||
label.setAttribute("tooltiptext", Zotero.getString('pane.item.goToURL.online.tooltip'));
|
label.setAttribute("tooltiptext", Zotero.getString('pane.item.goToURL.online.tooltip'));
|
||||||
}
|
}
|
||||||
else if (fieldName == 'DOI' && val && typeof val == 'String') {
|
else if (fieldName == 'DOI' && val && typeof val == 'string') {
|
||||||
// Pull out DOI, in case there's a prefix
|
// Pull out DOI, in case there's a prefix
|
||||||
var doi = Zotero.Utilities.prototype.cleanDOI(val);
|
var doi = Zotero.Utilities.prototype.cleanDOI(val);
|
||||||
if (doi) {
|
if (doi) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue