Fix error during ISBN lookup
This commit is contained in:
parent
be89e3ad17
commit
4fcee3afa4
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ Zotero.Utilities.Translate.prototype.processDocuments = function(urls, processor
|
|||
}
|
||||
|
||||
for(var i=0; i<urls.length; i++) {
|
||||
if("document" in this._translate && "location" in this._translate.document
|
||||
if(this._translate.document && this._translate.document.location
|
||||
&& this._translate.document.location.toString() === urls[i]) {
|
||||
// Document is attempting to reload itself
|
||||
Zotero.debug("Translate: Attempted to load the current document using processDocuments; using loaded document instead");
|
||||
|
|
Loading…
Add table
Reference in a new issue