Fix strict mode error from https://forums.zotero.org/discussion/34871/
This commit is contained in:
parent
8b6cedd037
commit
41c19992fe
1 changed files with 2 additions and 1 deletions
|
@ -2287,7 +2287,8 @@ Zotero.Integration.Session.prototype.lookupItems = function(citation, index) {
|
||||||
var citationItem = citation.citationItems[i];
|
var citationItem = citation.citationItems[i];
|
||||||
|
|
||||||
// get Zotero item
|
// get Zotero item
|
||||||
var zoteroItem = false;
|
var zoteroItem = false,
|
||||||
|
needUpdate;
|
||||||
if(citationItem.uris) {
|
if(citationItem.uris) {
|
||||||
[zoteroItem, needUpdate] = this.uriMap.getZoteroItemForURIs(citationItem.uris);
|
[zoteroItem, needUpdate] = this.uriMap.getZoteroItemForURIs(citationItem.uris);
|
||||||
if(needUpdate && index) this.updateIndices[index] = true;
|
if(needUpdate && index) this.updateIndices[index] = true;
|
||||||
|
|
Loading…
Reference in a new issue