Don't use browser console for logging in Zotero Standalone
This is probably what caused zotero/provo#5
This commit is contained in:
parent
b486366fdf
commit
5bbd5f0f70
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ Zotero.Debug = new function () {
|
|||
// log to the Browser Console instead
|
||||
//
|
||||
// TODO: Get rid of the filename and line number
|
||||
if (Zotero.isWin) {
|
||||
if (Zotero.isWin && !Zotero.isStandalone) {
|
||||
const consoleJSM = Components.utils.import("resource://gre/modules/devtools/Console.jsm", {});
|
||||
consoleJSM.console.sendConsoleAPIMessage(output);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue