You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi , i have a bubble tree with numbers of data from my database , now when i tested it i just noticed that a node with single child is not populating . Can anyone help me ? how can i populate a node with single child on its click .
The text was updated successfully, but these errors were encountered:
line 1146:
if (node.children.length < 2) { // ..because if it has no children..
change to:
if (node.children.length < 1) { // ..because if it has no children..
The above is not the only location that you need to make the change. You basically have to go through all the code and change ..children.length <2 to ..children.length <1 and ..children.length >1to ..children.length > 0
There was one more which I modified from if (pc.length > 1) { to if (pc.length > 0) {
Hi , i have a bubble tree with numbers of data from my database , now when i tested it i just noticed that a node with single child is not populating . Can anyone help me ? how can i populate a node with single child on its click .
The text was updated successfully, but these errors were encountered: