From ed49ad13924251263627fa6aca6a17a58043c355 Mon Sep 17 00:00:00 2001 From: MattMo Date: Wed, 20 Nov 2024 07:50:29 -0800 Subject: [PATCH] Changed element.data to nodeValue since that is the official property. --- ignite-template.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ignite-template.js b/ignite-template.js index 565a7e3..a5270f5 100644 --- a/ignite-template.js +++ b/ignite-template.js @@ -2511,12 +2511,12 @@ class text extends IgniteTemplate { } } - this.element.data = this._text; + this.element.nodeValue = this._text; } onTextChanged(newValue) { if (this.element) { - this.element.data = newValue; + this.element.nodeValue = newValue; } this._text = newValue;