allow send another file link to open in new tab

This commit is contained in:
Daniela Arcese 2017-07-18 17:16:07 -04:00
parent 95a83922df
commit acfcae5dec
4 changed files with 13 additions and 22 deletions

View file

@ -6,9 +6,9 @@ require('jquery-circle-progress');
const Raven = window.Raven;
$(document).ready(function() {
$('#download-progress').hide();
$('.send-new').click(() => {
window.location.replace(`${window.location.origin}`);
});
//link back to homepage
$('.send-new').attr('href', window.location.origin);
const filename = $('#dl-filename').html();
//initiate progress bar