Update directory structure in WebHostLib

This commit is contained in:
Chris Wilson
2020-08-02 19:10:42 -04:00
parent 22abd09087
commit 8e8bce4d9a
29 changed files with 30 additions and 26 deletions

View File

@@ -0,0 +1,9 @@
window.addEventListener('load', () => {
document.getElementById('upload-button').addEventListener('click', () => {
document.getElementById('file-input').click();
});
document.getElementById('file-input').addEventListener('change', () => {
document.getElementById('upload-form').submit();
});
});