diff --git a/chrome/content/zotero/lookup.js b/chrome/content/zotero/lookup.js index 66948c640..885211d7c 100644 --- a/chrome/content/zotero/lookup.js +++ b/chrome/content/zotero/lookup.js @@ -32,73 +32,8 @@ var Zotero_Lookup = new function () { * Performs a lookup by DOI, PMID, or ISBN */ this.accept = Zotero.Promise.coroutine(function* (textBox) { - var foundIDs = []; //keep track of identifiers to avoid duplicates - var identifier = textBox.value; - //first look for DOIs - var ids = identifier.split(/[\s\u00A0]+/); //whitespace + non-breaking space - var searches = [], doi; - for(var i=0, n=ids.length; i