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