summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ws/view.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ws/view.js b/src/ws/view.js
index e7c36fb..264ef9f 100644
--- a/src/ws/view.js
+++ b/src/ws/view.js
@@ -317,7 +317,7 @@ function editTitle(e)
function addChild(e)
{
e.stopPropagation();
- id = idFromStr(e.target.parentElement.parentElement.id);
+ const id = idFromStr(e.target.parentElement.parentElement.id);
create("x", id, -1);
}