mirror of
https://github.com/daniel-j/fimfic2epub.git
synced 2024-06-23 08:30:20 +12:00
accept only images
This commit is contained in:
parent
9d16fef12c
commit
3e4d08f646
|
@ -126,7 +126,7 @@ let dialog = {
|
|||
// m('input', {type: 'url', placeholder: 'Image URL'}),
|
||||
// '- or -',
|
||||
m('form', [
|
||||
m('input', {type: 'file', onchange: ctrl.setCoverFile}),
|
||||
m('input', {type: 'file', accept: 'image/*', onchange: ctrl.setCoverFile}),
|
||||
m('button', {type: 'reset'}, 'Reset')
|
||||
])
|
||||
))
|
||||
|
|
Loading…
Reference in a new issue