summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-08-28 12:00:20 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-08-28 12:00:20 +0000
commit1e2f038be1db0f64e9e0227a570e885c2ab42846 (patch)
tree802fff53ad15c93f3002d5421eab66d76c6305da /roundcubemail/program
parentb325a0d7bbc8a2c23d7157421d6e11e00be80cc9 (diff)
- fixed unread count on mailboxlist broken in r1687
git-svn-id: https://svn.roundcube.net/trunk@1690 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index f81f19d1d..bfab0035f 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/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))