www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit a218da859cd1669d44fd1d7b12cd1e9da0097fd9
parent 6a47d1dc446be58b6a43ec824b420f69403639de
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sun, 24 Apr 2016 04:50:29 -0400

Fix COinS generation outside of translators

Fixes #963, 5.0: CrossRef lookup is not working

Diffstat:
Mchrome/content/zotero/xpcom/openurl.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/xpcom/openurl.js b/chrome/content/zotero/xpcom/openurl.js @@ -105,8 +105,8 @@ Zotero.OpenURL = new function() { } } - if(item.toArray) { - item = item.toArray(); + if (item.toJSON) { + item = item.toJSON(); } // find pmid