commit 5bbd5f0f70c00cc9c617e70c4f2008e05ad046d8
parent b486366fdf0b61561b3befebac8ebff69c7f2f6c
Author: Simon Kornblith <simon@simonster.com>
Date: Mon, 10 Mar 2014 12:34:46 -0400
Don't use browser console for logging in Zotero Standalone
This is probably what caused zotero/provo#5
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/debug.js b/chrome/content/zotero/xpcom/debug.js
@@ -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);
}