fix send new file links

This commit is contained in:
Daniela Arcese 2017-06-06 17:31:07 -04:00
parent 6c29e33946
commit 7e6c969f79
2 changed files with 2 additions and 2 deletions

View file

@ -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 = () => {

View file

@ -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>