Fix H3 Action script iterating a number

This commit is contained in:
GenorTG
2026-11-09 17:24:57 +01:00
parent e2c47cd6c9
commit 4709418ce4
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "ComfyUI-PromptForge"
description = "ComfyUI prompt enhancement suite: model/config node with GPU-aware auto settings, prompt enhancer with a preset catalog, and a standalone config finder."
version = "1.28.10"
version = "1.28.11"
license = { file = "LICENSE" }
dependencies = [
"transformers",
+2 -2
View File
@@ -364,9 +364,9 @@ app.registerExtension({
const minimum = node.computeSize();
node.setSize([Math.max(saved?.[0] || node.size[0], 620), Math.max(saved?.[1] || node.size[1], minimum[1])]);
};
for (const number of (1, 2, 3)) find(`subject_${number}_from`)?.callback;
for (const number of [1, 2, 3]) find(`subject_${number}_from`)?.callback;
const fromCallback = {};
for (const number of (1, 2, 3)) {
for (const number of [1, 2, 3]) {
const from = find(`subject_${number}_from`);
if (!from) continue;
fromCallback[number] = from.callback;