From 4558bcc7c95801f6aa2f5cb942fbe64341115bed Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 23 Mar 2009 23:44:11 -0600 Subject: [PATCH] Better variable checking --- imp/js/src/DimpCore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imp/js/src/DimpCore.js b/imp/js/src/DimpCore.js index e4f7751e9..15d7e8d2d 100644 --- a/imp/js/src/DimpCore.js +++ b/imp/js/src/DimpCore.js @@ -33,7 +33,7 @@ DimpCore = { debug: function(label, e) { if (!this.is_logout && DIMP.conf.debug) { - if (console) { + if (console.error) { // Firebug error reporting. console.error(label, e); } else { -- 2.11.0