diff --git a/chrome/content/zotero/actors/ZoteroPrintChild.jsm b/chrome/content/zotero/actors/ZoteroPrintChild.jsm index d6ab50dac8..7957943995 100644 --- a/chrome/content/zotero/actors/ZoteroPrintChild.jsm +++ b/chrome/content/zotero/actors/ZoteroPrintChild.jsm @@ -4,8 +4,8 @@ var EXPORTED_SYMBOLS = ["ZoteroPrintChild"]; class ZoteroPrintChild extends JSWindowActorChild { actorCreated() { Cu.exportFunction( - () => new this.contentWindow.Promise( - (resolve, reject) => this._sendZoteroPrint().then(resolve, reject) + options => new this.contentWindow.Promise( + (resolve, reject) => this._sendZoteroPrint(options).then(resolve, reject) ), this.contentWindow, { defineAs: "zoteroPrint" } @@ -20,7 +20,7 @@ class ZoteroPrintChild extends JSWindowActorChild { } } - async _sendZoteroPrint() { - await this.sendQuery("zoteroPrint"); + async _sendZoteroPrint(options) { + await this.sendQuery("zoteroPrint", options); } }