Spaces:
Running
Running
Update static/script.js
Browse files- static/script.js +1 -1
static/script.js
CHANGED
|
@@ -754,7 +754,7 @@ fileInput.addEventListener('change', function(event) {
|
|
| 754 |
|
| 755 |
|
| 756 |
async function uploadForTranslation() {
|
| 757 |
-
let fileInput = document.getElementById("
|
| 758 |
let targetLang = document.getElementById("languageSelect").value;
|
| 759 |
let formData = new FormData();
|
| 760 |
formData.append("file", fileInput.files[0]);
|
|
|
|
| 754 |
|
| 755 |
|
| 756 |
async function uploadForTranslation() {
|
| 757 |
+
let fileInput = document.getElementById("fi");
|
| 758 |
let targetLang = document.getElementById("languageSelect").value;
|
| 759 |
let formData = new FormData();
|
| 760 |
formData.append("file", fileInput.files[0]);
|