Skip to content

Commit

Permalink
Fix accept attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
arackaf committed Apr 7, 2024
1 parent 6d81705 commit 987706d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svelte-file-dropzone",
"version": "2.0.5",
"version": "2.0.6",
"description": "Svelte component for fileupload and file dropzone",
"scripts": {
"package": "svelte-kit sync && svelte-package && publint",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/Dropzone.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@
on:drop={composeDragHandler(onDropCb)}
>
<input
{accept}
accept={accept?.toString()}
{multiple}
{required}
type="file"
Expand Down

0 comments on commit 987706d

Please sign in to comment.