From 765ee61c4c1e6073448e7ab4d7d07a0f50075e00 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 8 Aug 2009 16:06:57 +0000 Subject: [PATCH] DOI field in metadata pane wasn't clickable (regression) --- chrome/content/zotero/bindings/itembox.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml index 4b841ac2b..c8aeb4e79 100644 --- 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) {