mirror of
https://github.com/nextcloud/passman.git
synced 2024-11-10 17:27:40 +08:00
Fix for sidebar closing on download
This commit is contained in:
parent
4b3d1b7450
commit
38371ec7ee
1 changed files with 1 additions and 1 deletions
2
js/vendor/download.js
vendored
2
js/vendor/download.js
vendored
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue