diff options
author | alecpl <alec@alec.pl> | 2011-03-17 18:25:42 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-03-17 18:25:42 +0000 |
commit | a8317ef1725ce900879253c711a3856f208cf677 (patch) | |
tree | 61cd4faf4ec9e0e0a53f1572e4a13fc16a3f6c7b | |
parent | 569701d7002e71fbf76e9acaa6c83e5bee90b411 (diff) |
- Fix console handling in IE8
-rw-r--r-- | program/js/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |