Fix COinS generation outside of translators

Fixes #963, 5.0: CrossRef lookup is not working
This commit is contained in:
Dan Stillman 2016-04-24 04:50:29 -04:00
parent 6a47d1dc44
commit a218da859c

View File

@ -105,8 +105,8 @@ Zotero.OpenURL = new function() {
} }
} }
if(item.toArray) { if (item.toJSON) {
item = item.toArray(); item = item.toJSON();
} }
// find pmid // find pmid