Skip to content

Commit

Permalink
Only allow image files when uploading poster
Browse files Browse the repository at this point in the history
* Filter the file selection dialog to only
  show image files
  • Loading branch information
fheft committed Jun 2, 2021
1 parent afbb18a commit 56f7ffe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/editor/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export let uploader = tale => {
h("input", {
attrs: {
type: "file",
accept: "image/*",
},
on: {
change: ev => {
Expand Down

0 comments on commit 56f7ffe

Please sign in to comment.