Mercurial > hg > webaudioevaluationtool
changeset 2412:18f88a726ccd
Potential fix for #70
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Fri, 27 May 2016 10:39:23 +0100 |
parents | c31f73252af5 |
children | d44b5e04acbc |
files | test_create/test_core.js |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/test_create/test_core.js Fri May 27 08:52:28 2016 +0100 +++ b/test_create/test_core.js Fri May 27 10:39:23 2016 +0100 @@ -1329,7 +1329,7 @@ span.textContent = "Your XML document is linked below. On most browsers, simply right click on the link and select 'Save As'. Or clicking on the link may download the file directly. " obj.content.appendChild(span); var link = document.createElement("div"); - link.appendChild(doc.firstElementChild); + link.appendChild(doc.firstChild); var file = [link.innerHTML]; var bb = new Blob(file,{type : 'application/xml'}); var dnlk = window.URL.createObjectURL(bb);