aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/scripts/tree.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/scripts/tree.js')
-rw-r--r--lib/scripts/tree.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/scripts/tree.js b/lib/scripts/tree.js
index c4e1da3f7..9b2d24556 100644
--- a/lib/scripts/tree.js
+++ b/lib/scripts/tree.js
@@ -12,7 +12,7 @@ jQuery.fn.dw_tree = function(overrides) {
toggle_selector: 'a.idx_dir',
init: function () {
- this.$obj.delegate(this.toggle_selector, 'click', this,
+ this.$obj.on('click', this.toggle_selector, this,
this.toggle);
jQuery('ul:first', this.$obj).attr('role', 'tree');
jQuery('ul', this.$obj).not(':first').attr('role', 'group');