From a8317ef1725ce900879253c711a3856f208cf677 Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 17 Mar 2011 18:25:42 +0000 Subject: - Fix console handling in IE8 --- program/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'program') diff --git a/program/js/app.js b/program/js/app.js index 73058e967..ebbbae24b 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -136,8 +136,8 @@ function rcube_webmail() } // Enable debug console - if (!window.console) { - console = new rcube_console(); + if (!window.console || !window.console.log) { + window.console = new rcube_console(); } else { $('#console').hide(); -- cgit v1.2.3