summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-05-15 14:55:22 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-05-15 14:55:22 +0000
commit6560226ff5892a51104da0f992a012528a48ac14 (patch)
treea13b289fb2e314b529c019f9f07afb4241f109ce
parent78aa43379ef57271e34972e6b9015b481644fac1 (diff)
- removed redundant code in expand_unread()
git-svn-id: https://svn.roundcube.net/trunk@3622 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/js/app.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index d70c1320b..9c5867975 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -1930,17 +1930,13 @@ function rcube_webmail()
// expand all threads with unread children
this.expand_unread = function()
{
- var r, expando,
- tbody = this.gui_objects.messagelist.tBodies[0],
+ var r, tbody = this.gui_objects.messagelist.tBodies[0],
new_row = tbody.firstChild;
while (new_row) {
if (new_row.nodeType == 1 && (r = this.message_list.rows[new_row.uid])
&& r.unread_children) {
this.message_list.expand_all(r);
- expando = document.getElementById('rcmexpando' + r.uid);
- if (expando)
- expando.className = 'expanded';
this.set_unread_children(r.uid);
}
new_row = new_row.nextSibling;