This commit is contained in:
Carson Gross 2022-11-04 10:20:40 -06:00
parent 28a96275a8
commit a86a96fb70

View File

@ -10,8 +10,9 @@ function make(htmlStr) {
var fragment = range.createContextualFragment(htmlStr);
var wa = getWorkArea();
var child = null;
while(fragment.children.length > 0) {
child = fragment.children[0];
var children = fragment.children || fragment.childNodes; // IE
while(children.length > 0) {
child = children[0];
wa.appendChild(child);
htmx.process(child);
}