From 1e2f038be1db0f64e9e0227a570e885c2ab42846 Mon Sep 17 00:00:00 2001 From: alec Date: Thu, 28 Aug 2008 12:00:20 +0000 Subject: - fixed unread count on mailboxlist broken in r1687 git-svn-id: https://svn.roundcube.net/trunk@1690 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.2.3