From 653abb3aec22f221ca1516cf3944fb5650733422 Mon Sep 17 00:00:00 2001 From: Matt Mo <matt@montoyatech.com> Date: Tue, 9 Mar 2021 14:18:23 -0800 Subject: [PATCH] Fixed a bug with newValue on the template. --- ignite-template.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ignite-template.js b/ignite-template.js index 591af31..ec31276 100644 --- a/ignite-template.js +++ b/ignite-template.js @@ -188,7 +188,7 @@ class IgniteTemplate { if (this.element.hasAttribute("contenteditable") && this.element.getAttribute("contenteditable").toLowerCase().trim() == "true") { newValue = this.element.textContent; } else { - neValue = this.element.value; + newValue = this.element.value; } if (reflect instanceof Function) {