mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-27 13:01:03 +00:00
ie fix
This commit is contained in:
parent
197c6398b3
commit
28a96275a8
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user