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.

Cleanup.

comfyanonymous989acd769a6b
diff --git a/web/extensions/core/slotDefaults.js b/web/extensions/core/slotDefaults.js
index 04baadc6a..3ec605900 100644
--- a/web/extensions/core/slotDefaults.js
+++ b/web/extensions/core/slotDefaults.js
@@ -54,7 +54,7 @@ app.registerExtension({
this.slot_types_default_in[type].push(nodeId);
}
- var maxNum = this.suggestionsNumber ? this.suggestionsNumber.value : 5;
+ var maxNum = this.suggestionsNumber.value;
this.setDefaults(maxNum);
},
setDefaults(maxNum) {