commit 41c19992fe6a3015d97253a42ad52c420c5939f4
parent 8b6cedd037009843c118415d12408070cbbc7b2e
Author: Simon Kornblith <simon@simonster.com>
Date: Wed, 12 Feb 2014 01:02:54 -0500
Fix strict mode error from https://forums.zotero.org/discussion/34871/
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js
@@ -2287,7 +2287,8 @@ Zotero.Integration.Session.prototype.lookupItems = function(citation, index) {
var citationItem = citation.citationItems[i];
// get Zotero item
- var zoteroItem = false;
+ var zoteroItem = false,
+ needUpdate;
if(citationItem.uris) {
[zoteroItem, needUpdate] = this.uriMap.getZoteroItemForURIs(citationItem.uris);
if(needUpdate && index) this.updateIndices[index] = true;