// Now you can click on folder icon to expand or collapse
This commit is contained in:
@@ -13,7 +13,7 @@ Tree.prototype =
|
||||
{
|
||||
var that = $(this);
|
||||
|
||||
this.$element.find("label.tree-toggler").click(
|
||||
this.$element.find("label.tree-toggler, .icon-folder-close, .icon-folder-open").click(
|
||||
function ()
|
||||
{
|
||||
if ($(this).parent().parent().children("ul.tree").is(":visible"))
|
||||
|
||||
Reference in New Issue
Block a user