summaryrefslogtreecommitdiff
path: root/program/js/treelist.js
diff options
context:
space:
mode:
Diffstat (limited to 'program/js/treelist.js')
-rw-r--r--program/js/treelist.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/js/treelist.js b/program/js/treelist.js
index d856fc8ff..d2e06d93f 100644
--- a/program/js/treelist.js
+++ b/program/js/treelist.js
@@ -106,8 +106,8 @@ function rcube_treelist_widget(node, p)
node.collapsed = typeof set == 'undefined' || set;
update_dom(node);
- // Work around a bug in IE6 and IE7, see #1485309
- if (window.bw && (bw.ie6 || bw.ie7) && node.collapsed) {
+ // Work around a bug in IE7, see #1485309
+ if (window.bw && bw.ie7 && node.collapsed) {
id2dom(node.id).next().children('ul:visible').hide().show();
}