mirror of
https://github.com/zotero/zotero.git
synced 2026-10-03 02:21:49 +00:00
Properly pass URL
This commit is contained in:
parent
252255c2eb
commit
5057da9ed3
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@ Zotero.Utilities.Translate.prototype.processDocuments = function(urls, processor
|
|||
var newLoc = doc.location;
|
||||
if(Zotero.isFx && (loc.protocol !== newLoc.protocol || loc.host !== newLoc.host)) {
|
||||
// Cross-site; need to serialize and unserialize
|
||||
processor(Zotero.Translate.SandboxManager.Fx5DOMWrapper(doc, newLoc.toString()));
|
||||
processor(Zotero.Translate.SandboxManager.Fx5DOMWrapper(doc), newLoc.toString());
|
||||
} else {
|
||||
// Not cross-site; no need to wrap
|
||||
processor(doc, newLoc.toString());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue