Skip to content

Commit

Permalink
fix: Missing parameters to click callback #50
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikGartner committed Apr 10, 2017
1 parent 56ebb84 commit fb00d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class TreeBuilder {
if (d.data.hidden) {
return;
}
opts.callbacks.nodeClick(d.name, d.extra, d.id);
opts.callbacks.nodeClick(d.data.name, d.data.extra, d.data.id);
});
}

Expand Down

0 comments on commit fb00d8f

Please sign in to comment.