From 39fc50913c2df07b06595e8ab38a934b1dca1ae5 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 21 Feb 2012 14:03:07 -0500 Subject: [PATCH] Fix debug output of objects, which I broke in da09a8df --- chrome/content/zotero/xpcom/debug.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/debug.js b/chrome/content/zotero/xpcom/debug.js index d88d48e30..8da623f7d 100644 --- a/chrome/content/zotero/xpcom/debug.js +++ b/chrome/content/zotero/xpcom/debug.js @@ -62,7 +62,8 @@ Zotero.Debug = new function () { break; } } - else if (typeof message != 'string') { + + if (typeof message != 'string') { message = Zotero.Utilities.varDump(message); }