diff options
| author | Karan Jayachandra <karan.jayachandra@nxp.com> | 2025-11-09 09:56:59 +0100 |
|---|---|---|
| committer | Karan Jayachandra <karan.jayachandra@nxp.com> | 2025-11-09 09:56:59 +0100 |
| commit | 34d77cd777bd44d7bfe0e3ab3379f9be256ca88b (patch) | |
| tree | 04fba9f8bb99ac8fa15a1048b0ee06cbfed7f25d /app/static/file.js | |
| parent | 90390365bd93a4ee086c2931bb70ffa571a726b9 (diff) | |
Moved to javascript codebase
Diffstat (limited to 'app/static/file.js')
| -rw-r--r-- | app/static/file.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/app/static/file.js b/app/static/file.js deleted file mode 100644 index 403ddf6..0000000 --- a/app/static/file.js +++ /dev/null @@ -1,11 +0,0 @@ -window.onload = function() { - const fileInput = document.querySelector("#file-js input[type=file]"); - if (fileInput !== null) { - fileInput.onchange = () => { - if (fileInput.files.length > 0) { - const fileName = document.querySelector("#file-js .file-name"); - fileName.textContent = fileInput.files[0].name; - } - } - }; -}
\ No newline at end of file |
