diff --git a/chrome/content/zotero/modules/filePicker.mjs b/chrome/content/zotero/modules/filePicker.mjs index 8082047eb6..47f07568ec 100644 --- a/chrome/content/zotero/modules/filePicker.mjs +++ b/chrome/content/zotero/modules/filePicker.mjs @@ -48,7 +48,7 @@ export class FilePicker { * @param {Integer} mode - One of the mode constants, indicating the type of picker to create */ init(parentWindow, title, mode) { - this._fp.init(parentWindow, title, mode); + this._fp.init(parentWindow.browsingContext, title, mode); }; /**