Skip to content

Commit

Permalink
[fix]
Browse files Browse the repository at this point in the history
  • Loading branch information
木瓜丸 committed Dec 10, 2020
1 parent c1d0914 commit 468d6a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 468d6a9

Please sign in to comment.