fix send new file links
This commit is contained in:
parent
6c29e33946
commit
7e6c969f79
|
@ -1,7 +1,7 @@
|
|||
const FileReceiver = require('./fileReceiver');
|
||||
|
||||
$(document).ready(function() {
|
||||
$('.send-new').click(() => {
|
||||
$('#send-file').click(() => {
|
||||
window.location.replace(`${window.location.origin}`);
|
||||
});
|
||||
let download = () => {
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<button id="download-btn" onclick="download()">Download File</button>
|
||||
<img id="expired-img" src="/resources/link_expired.png"/>
|
||||
</div>
|
||||
<div class="send-new">
|
||||
<div class="send-new" id="send-file">
|
||||
Send your own files
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue