From 5d04a8592491da9782463a9f5b15ec926cceaff8 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Sat, 15 May 2010 10:55:22 -0400
Subject: [PATCH] - removed redundant code in expand_unread()

---
 program/js/app.js |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index d70c132..9c58679 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1930,17 +1930,13 @@
   // 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;

--
Gitblit v1.9.1