summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-04-16 17:38:19 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-04-16 17:38:19 +0000
commitb75e7bf1127a64861dab03d7a999186a6c740550 (patch)
tree02d34a9de4f1ec5a2da81dac54083622e3df58f3 /roundcubemail/program
parentd1f3dd5cff9c15bc8aa8294ac851e54eb0bccc38 (diff)
- Fix debug console on Safari
git-svn-id: https://svn.roundcube.net/trunk@2395 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/js/common.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/roundcubemail/program/js/common.js b/roundcubemail/program/js/common.js
index 7ec18f205..bd699d924 100644
--- a/roundcubemail/program/js/common.js
+++ b/roundcubemail/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