Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Swap order to prevent being cleared

pythongosssss1716aaa7a682
diff --git a/web/scripts/ui.js b/web/scripts/ui.js
index 2aabd29e7..2d55e885e 100644
--- a/web/scripts/ui.js
+++ b/web/scripts/ui.js
@@ -225,10 +225,10 @@ class ComfyList {
$el("button", {
textContent: "Load",
onclick: () => {
+ app.loadGraphData(item.prompt[3].extra_pnginfo.workflow);
if (item.outputs) {
app.nodeOutputs = item.outputs;
}
- app.loadGraphData(item.prompt[3].extra_pnginfo.workflow);
},
}),
$el("button", {