From acbc487af0dfdc803dd33d958231fbe232bb3586 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 28 Aug 2008 08:00:20 -0400
Subject: [PATCH] - fixed unread count on mailboxlist broken in r1687
---
program/js/app.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/program/js/app.js b/program/js/app.js
index f81f19d..bfab003 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -3473,7 +3473,7 @@
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))
--
Gitblit v1.9.1