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.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/program/js/app.js b/program/js/app.js
index fdd9d9c97..f81f8d5ee 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -135,6 +135,14 @@ function rcube_webmail()
return;
}
+ // Enable debug console
+ if (!window.console) {
+ console = new rcube_console();
+ }
+ else {
+ $('#console').hide();
+ }
+
// find all registered gui containers
for (var n in this.gui_containers)
this.gui_containers[n] = $('#'+this.gui_containers[n]);