mirror of
https://github.com/nextcloud/passman.git
synced 2025-02-26 16:33:03 +08:00
Fix removing download link
This commit is contained in:
parent
8ccae091c9
commit
085b4e1500
1 changed files with 1 additions and 1 deletions
2
js/vendor/download.js
vendored
2
js/vendor/download.js
vendored
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue