diff options
author | 2022-12-08 22:28:46 +0530 | |
---|---|---|
committer | 2022-12-08 16:58:46 +0000 | |
commit | 93d61ced55e7e1c486cdbe6c02c16435ca698860 (patch) | |
tree | e4d9e53260e508711cfcf45232d086e906a09d8e /src/internal-server/public/js/transfer.js | |
parent | Backported deprecation fixes from electron v22 upgrade (diff) | |
download | ferdium-app-93d61ced55e7e1c486cdbe6c02c16435ca698860.tar.gz ferdium-app-93d61ced55e7e1c486cdbe6c02c16435ca698860.tar.zst ferdium-app-93d61ced55e7e1c486cdbe6c02c16435ca698860.zip |
migrate from gulp to esbuild for faster builds (#815)
Diffstat (limited to 'src/internal-server/public/js/transfer.js')
-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; |