allow all image types

This commit is contained in:
Triston Armstrong 2024-10-07 03:16:59 -04:00
parent 4507e1fe8e
commit 3bc92ecb7d
Signed by: tristonarmstrong
GPG Key ID: A23B48AE45EB6EFE

View File

@ -8,7 +8,7 @@ export function ImageCardButton() {
function _handleClick(mouseEvent: MouseEvent) { function _handleClick(mouseEvent: MouseEvent) {
const input = document.createElement('input') const input = document.createElement('input')
input.type = 'file' input.type = 'file'
input.accept = ".png,.jpg,.webp,.jpeg" input.accept = "image/*"
input.multiple = false input.multiple = false
input.onchange = (e: any) => { input.onchange = (e: any) => {