# HG changeset patch # User Nicholas Jillings # Date 1464341963 -3600 # Node ID 18f88a726ccdae019578bb658f8e1da28837ab5a # Parent c31f73252af5cc0e4201ae24c0318ffefc14f027 Potential fix for #70 diff -r c31f73252af5 -r 18f88a726ccd test_create/test_core.js --- 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);