From b0b8ff52fc05a03fa6f38ed6a9ac6bdc4ca5c1bf Mon Sep 17 00:00:00 2001 From: Matteias Collet Date: Mon, 5 Feb 2018 17:35:36 +0100 Subject: [PATCH] Update gctGenerator.js --- gctGenerator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gctGenerator.js b/gctGenerator.js index 37ff920..01ac5d7 100644 --- a/gctGenerator.js +++ b/gctGenerator.js @@ -252,7 +252,7 @@ template.addEventListener("change", function () { }) levels.addEventListener("change", function (ev) { - if (ev.target.value === "0F00" && ev.target.parentNode !== template) levels.removeChild(t.parentNode); + if (ev.target.value === "0F00" && ev.target.parentNode !== template) levels.removeChild(ev.target.parentNode); }) levels.addEventListener("click", function (ev) {