Fix some locate engines (e.g., Google Scholar)
This commit is contained in:
parent
499da5ca3d
commit
fabf801fdb
1 changed files with 3 additions and 3 deletions
|
@ -429,8 +429,8 @@ Zotero.LocateManager = new function() {
|
|||
throw "LocateManager supports only responseType text/html";
|
||||
}
|
||||
|
||||
if(item.toArray) {
|
||||
item = item.toArray();
|
||||
if (item.toJSON) {
|
||||
item = item.toJSON();
|
||||
}
|
||||
|
||||
var itemAsOpenURL = Zotero.OpenURL.createContextObject(item, "1.0", true);
|
||||
|
|
Loading…
Add table
Reference in a new issue