Don't use browser console for logging in Zotero Standalone

This is probably what caused zotero/provo#5
This commit is contained in:
Simon Kornblith 2014-03-10 12:34:46 -04:00
parent b486366fdf
commit 5bbd5f0f70

View file

@ -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);
}