mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-12 22:42:36 +08:00
add .svg support for Load by default
Even though we can select svg file, but we can not see it via default options.
This commit is contained in:
parent
a57b0c797b
commit
86ea397a1a
@ -578,7 +578,7 @@ export class ComfyUI {
|
|||||||
const fileInput = $el("input", {
|
const fileInput = $el("input", {
|
||||||
id: "comfy-file-input",
|
id: "comfy-file-input",
|
||||||
type: "file",
|
type: "file",
|
||||||
accept: ".json,image/png,.latent,.safetensors",
|
accept: ".json,image/png,.latent,.safetensors,.svg",
|
||||||
style: {display: "none"},
|
style: {display: "none"},
|
||||||
parent: document.body,
|
parent: document.body,
|
||||||
onchange: () => {
|
onchange: () => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user