From fc38a7df70d5b9b110fe0fc7b48dcf08d0746edb Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 14 Jun 2020 16:18:45 +0200 Subject: Fix missing declaration (regression error after strict was introduced). --- src/ws/view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3