Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing internal-names .bind issue #398

Merged
merged 2 commits into from
Aug 31, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ <h4 class="modal-title">Task in progress</h4>

rendered_tree = tree.render({
container: "#tree_container",
'draw-size-bubbles' : false,
'draw-size-bubbles' : false,
'node-styler': node_colorizer,
'zoom': false,
'edge-styler': edge_colorizer
Expand Down
2 changes: 1 addition & 1 deletion src/render/draw.js
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ class TreeRender {
let managed_to_display = false;

for (let child_id = 0; child_id < a_node.children.length; child_id++) {
let child_x = this.tree_layout(a_node.children[child_id]).bind(this);
let child_x = this.tree_layout(a_node.children[child_id]);//.bind(this);

if (typeof child_x == "number") {
displayed_children++;
Expand Down