From bb98b2c5e43f382e0063e5622fc3cf818d951a49 Mon Sep 17 00:00:00 2001 From: reschan Date: Thu, 23 Jun 2022 22:11:47 +0700 Subject: [PATCH] fix archer tree (2) --- js/display_atree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/display_atree.js b/js/display_atree.js index 6e072cb..86d776b 100644 --- a/js/display_atree.js +++ b/js/display_atree.js @@ -87,7 +87,7 @@ function construct_AT(elem, tree) { else {// if (parent_node.display.col < node.display.col && (parent_node.display.row != node.display.row)) { connector.classList.add("rotate-270"); } - resolve_connector(document.getElementById("atree-row-" + parent_node.display.row).children[node.display.col]); + resolve_connector(document.getElementById("atree-row-" + parent_node.display.row).children[node.display.col], node); } }