Mercurial > hg > webaudioevaluationtool
diff test_create/test_core.js @ 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 | 32f077f5849a |
children | de547cf9a4e7 |
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);