summaryrefslogtreecommitdiff
path: root/program/js/treelist.js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-04-12 14:01:07 +0200
committerAleksander Machniak <alec@alec.pl>2014-04-12 14:01:07 +0200
commit64542fc8035b71252dd7d8678dd82e1a910a76c4 (patch)
tree5d0458ca0388d54547cbcc1fdd7b4bb145741a0f /program/js/treelist.js
parent0ca75d488059b685ae344dbb629aa935dce3ab79 (diff)
Drop support for IE6, move IE7/IE8 support to legacy_browser plugin, update to jQuery-2.1.0
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();
}