forked from extern/egroupware
Remove setting textContent twice. If needed, loadFromXML() will handle it.
This commit is contained in:
parent
47825f1be3
commit
ae4b8de4e5
@ -1316,7 +1316,6 @@ export function loadWebComponent(_nodeName : string, _template_node : Element|{[
|
||||
|
||||
// @ts-ignore
|
||||
let widget = <Et2Widget>document.createElement(_nodeName);
|
||||
widget.textContent = _template_node.textContent;
|
||||
|
||||
if (parent && typeof widget.setParent === 'function') widget.setParent(parent);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user