Fix removing download link

This commit is contained in:
brantje 2016-10-06 20:01:02 +02:00
parent 8ccae091c9
commit 085b4e1500
No known key found for this signature in database
GPG key ID: 5FF1D117F918687F

View file

@ -104,7 +104,7 @@
jQuery('.detailsView').append(anchor); jQuery('.detailsView').append(anchor);
setTimeout(function() { setTimeout(function() {
anchor.click(); anchor.click();
document.body.removeChild(anchor); jQuery('.download-js-link').remove();
if(winMode===true){setTimeout(function(){ self.URL.revokeObjectURL(anchor.href);}, 250 );} if(winMode===true){setTimeout(function(){ self.URL.revokeObjectURL(anchor.href);}, 250 );}
}, 66); }, 66);
return true; return true;