diff --git a/js/vendor/download.js b/js/vendor/download.js index 01e1b040..1a987a9d 100644 --- a/js/vendor/download.js +++ b/js/vendor/download.js @@ -104,7 +104,7 @@ jQuery('.detailsView').append(anchor); setTimeout(function() { anchor.click(); - document.body.removeChild(anchor); + jQuery('.download-js-link').remove(); if(winMode===true){setTimeout(function(){ self.URL.revokeObjectURL(anchor.href);}, 250 );} }, 66); return true;