diff --git a/web/calculator.html b/web/calculator.html index 161f617..2a3bfd0 100644 --- a/web/calculator.html +++ b/web/calculator.html @@ -457,6 +457,7 @@ const list = input.closest('section').querySelector('.files'); list.replaceChildren(...[...input.files].map(file => { const item = document.createElement('li'); item.textContent = file.name; return item; })); })); + // Uploads screenshots selected for an application and returns attachment metadata. async function uploadApplicationScreenshots() { const attachments = []; const files = [...document.querySelectorAll('.application-screenshots:not(:disabled)')].flatMap(input => [...input.files]);