summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'program/js/app.js')
-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();