From acbc487af0dfdc803dd33d958231fbe232bb3586 Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 28 Aug 2008 12:00:20 +0000 Subject: - fixed unread count on mailboxlist broken in r1687 --- program/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.2.3