Fix Et2Widget.createElementFromNode() used the wrong variable to determine widget class, and missed out on modifications

This commit is contained in:
nathan 2022-05-13 09:38:23 -06:00
parent 6f2a93ef0a
commit ce922c8816

View File

@ -626,7 +626,7 @@ const Et2WidgetMixin = (superClass) =>
}
let widget;
if(undefined == window.customElements.get(_node.nodeName.toLowerCase()))
if(undefined == window.customElements.get(_nodeName))
{
// Get the constructor - if the widget is readonly, use the special "_ro"
// constructor if it is available