diff options
Diffstat (limited to 'src/internal-server/public')
-rw-r--r-- | src/internal-server/public/js/transfer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal-server/public/js/transfer.js b/src/internal-server/public/js/transfer.js index 36fdbd61a..e3b3f92a2 100644 --- a/src/internal-server/public/js/transfer.js +++ b/src/internal-server/public/js/transfer.js | |||
@@ -2,7 +2,7 @@ const submitBtn = document.querySelector('#submit'); | |||
2 | const fileInput = document.querySelector('#file'); | 2 | const fileInput = document.querySelector('#file'); |
3 | const fileOutput = document.querySelector('#fileoutput'); | 3 | const fileOutput = document.querySelector('#fileoutput'); |
4 | 4 | ||
5 | fileInput?.addEventListener('change', () => { | 5 | fileInput.addEventListener('change', () => { |
6 | const reader = new FileReader(); | 6 | const reader = new FileReader(); |
7 | reader.addEventListener('load', () => { | 7 | reader.addEventListener('load', () => { |
8 | const text = reader.result; | 8 | const text = reader.result; |