mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2025-12-24 13:34:48 +08:00
Add webp images to upload accept list.
This commit is contained in:
parent
f84f2508cc
commit
60b4c31ab3
@ -306,7 +306,7 @@ export const ComfyWidgets = {
|
||||
const fileInput = document.createElement("input");
|
||||
Object.assign(fileInput, {
|
||||
type: "file",
|
||||
accept: "image/jpeg,image/png",
|
||||
accept: "image/jpeg,image/png,image/webp",
|
||||
style: "display: none",
|
||||
onchange: async () => {
|
||||
if (fileInput.files.length) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user