From 468d6a9643220df05ef31509290136a1c36be8d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=A8=E7=93=9C=E4=B8=B8?= Date: Thu, 10 Dec 2020 11:20:22 +0900 Subject: [PATCH] [fix] --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 37a607c..d374104 100644 --- a/main.js +++ b/main.js @@ -336,7 +336,7 @@ class Template extends RenderPart { switch(a[0]) { case "@": element.removeEventListener(a.slice(1), placeholder.value); - element.addEventListener(a.slice(1), value[i]); + element.addEventListener(a.slice(1), values[i]); break; case ".": element[a.slice(1)] = values[i];