Improved styling for WebHost

This commit is contained in:
Chris Wilson
2020-07-18 16:25:07 -04:00
parent 79c91f57a8
commit 69f5802e7a
12 changed files with 263 additions and 105 deletions

View File

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