mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-21 00:59:29 +00:00
Oh right
This commit is contained in:
parent
e175551a61
commit
94fc18fa27
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ export async function promptForFileReferences(accept) {
|
|||
// Does this represent a memory leak somehow?
|
||||
// Can this fail? Do we ever reject?
|
||||
const fileInput = document.createElement("input");
|
||||
if (accept) fileInput.setAttribute('accept', accept)
|
||||
if (accept) fileInput.setAttribute("accept", accept)
|
||||
fileInput.type = "file";
|
||||
fileInput.multiple = true;
|
||||
// Not entirely sure why this is needed, since the input
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue