diff --git a/chrome/content/zotero/xpcom/fulltext.js b/chrome/content/zotero/xpcom/fulltext.js index 659b934aba..48f5868f8a 100644 --- a/chrome/content/zotero/xpcom/fulltext.js +++ b/chrome/content/zotero/xpcom/fulltext.js @@ -1607,8 +1607,8 @@ Zotero.Fulltext = Zotero.FullText = new function(){ var pageData; try { let url = Zotero.File.pathToFileURI(path); - browser = new HiddenBrowser(); - await browser.load(url, { blockRemoteResources: true }); + browser = new HiddenBrowser({ blockRemoteResources: true }); + await browser.load(url); pageData = await browser.getPageData(['characterSet', 'bodyText']); } finally {