Fixed page reloads

This commit is contained in:
Eduard Urbach 2017-07-20 14:34:46 +02:00
parent 5ea14e8fc1
commit b58434eb7d

View File

@ -13,7 +13,7 @@ export class Diff {
}
Diff.container.innerHTML = html
Diff.childNodes(aRoot, Diff.container)
Diff.childNodes(aRoot.getElementsByTagName("body")[0], Diff.container.getElementsByTagName("body")[0])
}
// root will diff the document root element with the given HTML string and apply DOM mutations.