From 54531f1d7f66dcd8a596f5490003fd2f2044213c Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Wed, 19 May 2010 09:23:19 -0400
Subject: [PATCH] - small improvements

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

diff --git a/program/js/app.js b/program/js/app.js
index dfd7c9f..5e081d9 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1969,8 +1969,8 @@
   this.init_threads = function(roots)
   {
     for (var n=0, len=roots.length; n<len; n++)
-      setTimeout(function() { rcmail.add_tree_icons(roots[n]);}, 1);
-    setTimeout(function() { rcmail.expand_threads();}, 1);
+      this.add_tree_icons(roots[n]);
+    this.expand_threads();
   };
 
   // adds threads tree icons to the list (or specified thread)

--
Gitblit v1.9.1