diff --git a/pyproject.toml b/pyproject.toml index 6e8917b..d87eacf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", diff --git a/web/promptforge_h3.js b/web/promptforge_h3.js index f1b421a..90818f5 100644 --- a/web/promptforge_h3.js +++ b/web/promptforge_h3.js @@ -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;