diff --git a/chrome/content/zotero/xpcom/integration_worker.js b/chrome/content/zotero/xpcom/integration_worker.js index 81d8255eaa..1e92da24e8 100644 --- a/chrome/content/zotero/xpcom/integration_worker.js +++ b/chrome/content/zotero/xpcom/integration_worker.js @@ -52,7 +52,7 @@ onmessage = function(event) { close(fd); // extract message - string = buf.readString(); + var string = buf.readString(); var parts = string.match(/^([^ \n]*) ([^ \n]*)(?: ([^\n]*))?\n?$/); if(!parts) { postMessage(["Exception", "Integration Worker: Invalid input received: "+string]);