diff --git a/user/module.js b/user/module.js index 01ed0168d0d..324a2af2de6 100644 --- a/user/module.js +++ b/user/module.js @@ -35,7 +35,7 @@ M.core_user.init_participation = function(Y) { M.core_user.init_tree = function(Y, expand_all, htmlid) { Y.use('yui2-treeview', function(Y) { - var tree = new YAHOO.widget.TreeView(htmlid); + var tree = new Y.YUI2.widget.TreeView(htmlid); tree.subscribe("clickEvent", function(node, event) { // we want normal clicking which redirects to url