We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28a9627 commit a86a96fCopy full SHA for a86a96f
1 file changed
www/test/1.8.3/test/util/util.js
@@ -10,8 +10,9 @@ function make(htmlStr) {
10
var fragment = range.createContextualFragment(htmlStr);
11
var wa = getWorkArea();
12
var child = null;
13
- while(fragment.children.length > 0) {
14
- child = fragment.children[0];
+ var children = fragment.children || fragment.childNodes; // IE
+ while(children.length > 0) {
15
+ child = children[0];
16
wa.appendChild(child);
17
htmx.process(child);
18
}
0 commit comments