summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-03-17 18:25:42 +0000
committeralecpl <alec@alec.pl>2011-03-17 18:25:42 +0000
commita8317ef1725ce900879253c711a3856f208cf677 (patch)
tree61cd4faf4ec9e0e0a53f1572e4a13fc16a3f6c7b /program
parent569701d7002e71fbf76e9acaa6c83e5bee90b411 (diff)
- Fix console handling in IE8
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js4
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();