diff --git a/chrome/content/zotero/xpcom/debug.js b/chrome/content/zotero/xpcom/debug.js index 0ba33a8def..b7352b2cb6 100644 --- a/chrome/content/zotero/xpcom/debug.js +++ b/chrome/content/zotero/xpcom/debug.js @@ -111,8 +111,8 @@ Zotero.Debug = new function () { // // TODO: Get rid of the filename and line number if (Zotero.isWin && !Zotero.isStandalone) { - const consoleJSM = Components.utils.import("resource://gre/modules/devtools/Console.jsm", {}); - consoleJSM.console.sendConsoleAPIMessage(output); + let console = Components.utils.import("resource://gre/modules/devtools/Console.jsm", {}).console; + console.log(output); } // Otherwise dump to the text console else {