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

@ -68,17 +68,8 @@ $(document).ready(function() {
fill: '#3B9DFF',
size: 158
});
// link back to home page
$('.send-new').click(() => {
$('#upload-progress').hide();
$('#share-link').hide();
$('#upload-error').hide();
$copyBtn.attr('disabled', false);
$('#link').attr('disabled', false);
$copyBtn.html('Copy to Clipboard');
$('.upload-window').removeClass('ondrag');
$('#page-one').show();
});
//link back to homepage
$('.send-new').attr('href', window.location);
// on file upload by browse or drag & drop
function onUpload(event) {