diff --git a/frontend/src/download.js b/frontend/src/download.js index 167a39f4..b3457c95 100644 --- a/frontend/src/download.js +++ b/frontend/src/download.js @@ -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 = () => { diff --git a/public/download.html b/public/download.html index cfc490c7..513d3c96 100644 --- a/public/download.html +++ b/public/download.html @@ -18,7 +18,7 @@ -