summaryrefslogtreecommitdiff
path: root/program/js/common.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-04-16 17:38:19 +0000
committeralecpl <alec@alec.pl>2009-04-16 17:38:19 +0000
commitc0b82242b093ec5fa2f353fe2d4f8d85f18b0e0a (patch)
tree549a67bbe4b7ffa11d8ded7b5707d790922b1f22 /program/js/common.js
parentca3c7387068c7a87b84efe73d9de448b3f0c6867 (diff)
- Fix debug console on Safari
Diffstat (limited to 'program/js/common.js')
-rw-r--r--program/js/common.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/program/js/common.js b/program/js/common.js
index 7ec18f205..bd699d924 100644
--- a/program/js/common.js
+++ b/program/js/common.js
@@ -602,7 +602,6 @@ function getCookie(name)
roundcube_browser.prototype.get_cookie = getCookie;
-
// tiny replacement for Firebox functionality
function rcube_console()
{
@@ -616,7 +615,7 @@ function rcube_console()
else
msg += '\n--------------------------------------\n';
- // Konqueror (Safari also?) doesn't allows to just change value of hidden element
+ // Konqueror doesn't allows to just change value of hidden element
if (bw.konq) {
box.innerText += msg;
box.value = box.innerText;
@@ -634,9 +633,7 @@ function rcube_console()
}
var bw = new roundcube_browser();
-
-if (!window.console)
- console = new rcube_console();
+var console = new rcube_console();
// Add escape() method to RegExp object