summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2020-06-14 16:18:45 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2020-06-14 16:18:45 +0200
commitfc38a7df70d5b9b110fe0fc7b48dcf08d0746edb (patch)
treeab01ce119dad1a18b377cefcd111b7ea98fd9d2e
parentc678af3ae45e979c09f20defe7dbe33509c32707 (diff)
Fix missing declaration (regression error after strict was introduced).
-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);
}