allow send another file link to open in new tab
This commit is contained in:
parent
95a83922df
commit
acfcae5dec
4 changed files with 13 additions and 22 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue