summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/js/app.js b/program/js/app.js
index dfd7c9f87..5e081d9a3 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1969,8 +1969,8 @@ function rcube_webmail()
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)