diff --git a/chrome/content/zotero/actors/translation/http.js b/chrome/content/zotero/actors/translation/http.js index 131ac71918..e162a6ca2e 100644 --- a/chrome/content/zotero/actors/translation/http.js +++ b/chrome/content/zotero/actors/translation/http.js @@ -23,7 +23,7 @@ ***** END LICENSE BLOCK ***** */ -Cu.import("resource://gre/modules/NetUtil.jsm"); +var { NetUtil } = ChromeUtils.importESModule("resource://gre/modules/NetUtil.sys.mjs"); /** * Functions for performing HTTP requests, both via XMLHTTPRequest and using a hidden browser