This commit is contained in:
Adam D. Ruppe 2013-05-22 09:19:57 -04:00
parent 9fc6975ada
commit 3077ffe763
1 changed files with 1 additions and 1 deletions

2
dom.d
View File

@ -1497,7 +1497,7 @@ class Element {
//assert(isInArray(child, children));
}
body {
foreach(i, c; children) {
foreach(ref i, c; children) {
if(c is where) {
i++;
children = children[0..i] ~ child ~ children[i..$];