summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-04-20 12:02:55 +0200
committerAleksander Machniak <alec@alec.pl>2014-04-20 12:02:55 +0200
commit97cf4d199bc94fa806afea95a8598e20ec5f97e3 (patch)
tree73a834896416cc13e73756a765f31eabde402aeb
parent701905727c70908f594a9aae66443445a9fe1211 (diff)
Remove IE7 hack that is not needed anymore
-rw-r--r--program/js/treelist.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/program/js/treelist.js b/program/js/treelist.js
index d2e06d93f..687db9e3b 100644
--- a/program/js/treelist.js
+++ b/program/js/treelist.js
@@ -106,11 +106,6 @@ function rcube_treelist_widget(node, p)
node.collapsed = typeof set == 'undefined' || set;
update_dom(node);
- // Work around a bug in IE7, see #1485309
- if (window.bw && bw.ie7 && node.collapsed) {
- id2dom(node.id).next().children('ul:visible').hide().show();
- }
-
if (recursive && node.children) {
for (var i=0; i < node.children.length; i++) {
collapse(node.children[i].id, recursive, set);