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

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);
}