commit 765ee61c4c1e6073448e7ab4d7d07a0f50075e00
parent 9318d2ad3eb0fef291e3ebcdefdcdfa02ed1209a
Author: Dan Stillman <dstillman@zotero.org>
Date: Sat, 8 Aug 2009 16:06:57 +0000
DOI field in metadata pane wasn't clickable (regression)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml
@@ -452,7 +452,7 @@
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'));
}
- 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
var doi = Zotero.Utilities.prototype.cleanDOI(val);
if (doi) {