added count down for download

This commit is contained in:
0xboobface 2018-07-02 17:50:11 +02:00
parent 037ef9381d
commit c1df2f301f
1 changed files with 1 additions and 1 deletions

View File

@ -101,9 +101,9 @@
}, 1000); }, 1000);
} }
function downloadFile(uri) { function downloadFile(uri) {
cnt = 10;
$('#download-counter').show(); $('#download-counter').show();
$('#download-counter').html("Your download starts in... " + cnt); $('#download-counter').html("Your download starts in... " + cnt);
cnt = 10;
downloadCounter(uri); downloadCounter(uri);
} }
</script> </script>