summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);
}