Updated from master

This commit is contained in:
Felix Krause 2016-05-12 15:36:10 +02:00
parent 97cd593463
commit bc9df81800
1 changed files with 1 additions and 4 deletions

View File

@ -88,10 +88,7 @@
</section>
<script type="text/javascript">
function setTextContent(element, text) {
while (element.firstChild!==null) {
element.removeChild(element.firstChild); // remove all existing content
}
element.appendChild(document.createTextNode(text));
element.innerHTML = text;
}
function parse() {
var r = new XMLHttpRequest();