mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 07:21:05 +00:00
ie fix
This commit is contained in:
parent
28a96275a8
commit
a86a96fb70
@ -10,8 +10,9 @@ function make(htmlStr) {
|
|||||||
var fragment = range.createContextualFragment(htmlStr);
|
var fragment = range.createContextualFragment(htmlStr);
|
||||||
var wa = getWorkArea();
|
var wa = getWorkArea();
|
||||||
var child = null;
|
var child = null;
|
||||||
while(fragment.children.length > 0) {
|
var children = fragment.children || fragment.childNodes; // IE
|
||||||
child = fragment.children[0];
|
while(children.length > 0) {
|
||||||
|
child = children[0];
|
||||||
wa.appendChild(child);
|
wa.appendChild(child);
|
||||||
htmx.process(child);
|
htmx.process(child);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user