Merge remote-tracking branch 'origin/master' into shim-webcrypto

This commit is contained in:
Danny Coates 2017-08-04 21:08:32 -07:00
commit 432a39d313
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB

View File

@ -44,6 +44,9 @@ $(document).ready(function() {
});
$('#download-btn').click(download);
function download() {
// Disable the download button to avoid accidental double clicks.
$('#download-btn').attr('disabled', 'disabled');
storage.totalDownloads += 1;
const fileReceiver = new FileReceiver();