"backend/apps/vscode:/vscode.git/clone" did not exist on "e1a6ccd1aa5f3ba417db092ba453a6369131689b"
Commit 09922601 authored by comfyanonymous's avatar comfyanonymous
Browse files

Merge branch 'Fix-structuredClone-error-with-early-chrome-version-browser' of...

Merge branch 'Fix-structuredClone-error-with-early-chrome-version-browser' of https://github.com/KarryCharon/ComfyUI
parents 94e4fe39 076f3e63
......@@ -1297,7 +1297,13 @@ export class ComfyApp {
let reset_invalid_values = false;
if (!graphData) {
if (typeof structuredClone === "undefined")
{
graphData = JSON.parse(JSON.stringify(defaultGraph));
}else
{
graphData = structuredClone(defaultGraph);
}
reset_invalid_values = true;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment