generated from Klectr/KTemplate
allow all image types
This commit is contained in:
parent
4507e1fe8e
commit
3bc92ecb7d
@ -8,7 +8,7 @@ export function ImageCardButton() {
|
||||
function _handleClick(mouseEvent: MouseEvent) {
|
||||
const input = document.createElement('input')
|
||||
input.type = 'file'
|
||||
input.accept = ".png,.jpg,.webp,.jpeg"
|
||||
input.accept = "image/*"
|
||||
input.multiple = false
|
||||
|
||||
input.onchange = (e: any) => {
|
||||
|
Loading…
Reference in New Issue
Block a user