diff --git a/chrome/content/zotero/xpcom/translation/translate_firefox.js b/chrome/content/zotero/xpcom/translation/translate_firefox.js index c3f69cfdf0..6bfcc587a1 100644 --- a/chrome/content/zotero/xpcom/translation/translate_firefox.js +++ b/chrome/content/zotero/xpcom/translation/translate_firefox.js @@ -545,7 +545,7 @@ Zotero.Translate.SandboxManager.prototype = { Zotero.Translate.ChildSandboxManager = function(parent) { this._wrappedSandbox = new parent.sandbox.Object(); this._wrappedSandbox.Zotero = new parent.sandbox.Object(); - this.sandbox = this._wrappedSandbox.wrappedJSObject; + this.sandbox = this._wrappedSandbox.wrappedJSObject || this._wrappedSandbox; this._parent = parent; } Zotero.Translate.ChildSandboxManager.prototype = {