diff --git a/chrome/content/zotero/xpcom/plugins.js b/chrome/content/zotero/xpcom/plugins.js index 037654f431..f9e87a888f 100644 --- a/chrome/content/zotero/xpcom/plugins.js +++ b/chrome/content/zotero/xpcom/plugins.js @@ -181,7 +181,7 @@ Zotero.Plugins = new function () { if (property === 'import') { return function (uri) { let esmURI = uri.replace('.jsm', uri.includes('/zotero/') ? '.mjs' : '.sys.mjs'); - Zotero.warn('ChromeUtils.import() is deprecated. Use importESModule():\n' + Zotero.warn('ChromeUtils.import() has been removed. Use importESModule():\n' + ` ChromeUtils.importESModule("${esmURI}");`); return receiver.importESModule(esmURI); };