Merge remote-tracking branch 'origin/master' into shim-webcrypto
This commit is contained in:
commit
432a39d313
@ -44,6 +44,9 @@ $(document).ready(function() {
|
|||||||
});
|
});
|
||||||
$('#download-btn').click(download);
|
$('#download-btn').click(download);
|
||||||
function download() {
|
function download() {
|
||||||
|
// Disable the download button to avoid accidental double clicks.
|
||||||
|
$('#download-btn').attr('disabled', 'disabled');
|
||||||
|
|
||||||
storage.totalDownloads += 1;
|
storage.totalDownloads += 1;
|
||||||
|
|
||||||
const fileReceiver = new FileReceiver();
|
const fileReceiver = new FileReceiver();
|
||||||
|
Loading…
Reference in New Issue
Block a user