From e6256d60ecb05f9b1ffd5e26acd9b7aaa27dda1f Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 1 Aug 2022 04:37:57 -0400 Subject: [PATCH] fx-compat: Fix logging to the browser console --- chrome/content/zotero/xpcom/zotero.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index c12224af65..b8b903599e 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -1184,7 +1184,9 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js"); lineNumber != undefined ? lineNumber : null, columnNumber != undefined ? columnNumber : null, flags, - 'component javascript' + 'system javascript', + false, + true ); Services.console.logMessage(scriptError); }