summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-03-17 18:25:42 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-03-17 18:25:42 +0000
commitce2a6c39e781be0944e11a28b59cae56641bc618 (patch)
tree89bb5bb5b9c1b0e30c426a326968564dec3a1e22
parentc9054494d93482c3423380029f99039d8395733a (diff)
- Fix console handling in IE8
git-svn-id: https://svn.roundcube.net/trunk@4611 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/js/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index 73058e967..ebbbae24b 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/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();