summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-08-28 12:00:20 +0000
committeralecpl <alec@alec.pl>2008-08-28 12:00:20 +0000
commitacbc487af0dfdc803dd33d958231fbe232bb3586 (patch)
treef8909fc62ebdfb02aef06fb16fbd7973cb7c5d87 /program/js/app.js
parent1996d8f9778466abe721c154abc8db2239bcc3e2 (diff)
- fixed unread count on mailboxlist broken in r1687
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index f81f19d1d..bfab0035f 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -3473,7 +3473,7 @@ function rcube_webmail()
if (item = this.get_folder_li(mbox))
{
// set new text
- text_obj = item.firstChild.nextSibling;
+ text_obj = item.getElementsByTagName('a')[0];
reg = /\s+\([0-9]+\)$/i;
if (count && text_obj.innerHTML.match(reg))