mirror of https://github.com/adamdruppe/arsd.git
ref
This commit is contained in:
parent
9fc6975ada
commit
3077ffe763
2
dom.d
2
dom.d
|
@ -1497,7 +1497,7 @@ class Element {
|
||||||
//assert(isInArray(child, children));
|
//assert(isInArray(child, children));
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
foreach(i, c; children) {
|
foreach(ref i, c; children) {
|
||||||
if(c is where) {
|
if(c is where) {
|
||||||
i++;
|
i++;
|
||||||
children = children[0..i] ~ child ~ children[i..$];
|
children = children[0..i] ~ child ~ children[i..$];
|
||||||
|
|
Loading…
Reference in New Issue