fixed bug when child has state expanded false and levels 5, then the grandsons nodes remains visible. You can see the bug with the code below: ```js var tree = [ { text: "Parent 1", nodes: [ { text: "Child 1", state:{expanded:false}, nodes: [ { text: "Grandchild 1" }, { text: "Grandchild 2" } ] }, { text: "Child 2" } ] }, { text: "Parent 2" }, { text: "Parent 3" }, { text: "Parent 4" }, { text: "Parent 5" } ]; $('#tree').treeview({ levels:5, data: tree}); ```
fixed bug when child has state expanded false and levels 5, then the grandsons nodes remains visible. You can see the bug with the code below: