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
|
@ -110,7 +110,7 @@ Zotero.Debug = new function () {
|
||||||
// log to the Browser Console instead
|
// log to the Browser Console instead
|
||||||
//
|
//
|
||||||
// TODO: Get rid of the filename and line number
|
// 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", {});
|
const consoleJSM = Components.utils.import("resource://gre/modules/devtools/Console.jsm", {});
|
||||||
consoleJSM.console.sendConsoleAPIMessage(output);
|
consoleJSM.console.sendConsoleAPIMessage(output);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user