From ae4b8de4e5c3e837742349303d90068d30b66c88 Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 4 Aug 2022 08:58:36 -0600 Subject: [PATCH] Remove setting textContent twice. If needed, loadFromXML() will handle it. --- api/js/etemplate/Et2Widget/Et2Widget.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/api/js/etemplate/Et2Widget/Et2Widget.ts b/api/js/etemplate/Et2Widget/Et2Widget.ts index a96d8cf901..4f0ad216f1 100644 --- a/api/js/etemplate/Et2Widget/Et2Widget.ts +++ b/api/js/etemplate/Et2Widget/Et2Widget.ts @@ -1316,7 +1316,6 @@ export function loadWebComponent(_nodeName : string, _template_node : Element|{[ // @ts-ignore let widget = document.createElement(_nodeName); - widget.textContent = _template_node.textContent; if (parent && typeof widget.setParent === 'function') widget.setParent(parent);