Fix for sidebar closing on download

This commit is contained in:
brantje 2016-10-06 19:52:09 +02:00
parent 4b3d1b7450
commit 38371ec7ee
No known key found for this signature in database
GPG key ID: 5FF1D117F918687F

View file

@ -101,7 +101,7 @@
anchor.className = "download-js-link";
anchor.innerHTML = "downloading...";
anchor.style.display = "none";
document.body.appendChild(anchor);
jQuery('.detailsView').append(anchor);
setTimeout(function() {
anchor.click();
document.body.removeChild(anchor);