From b872eaa71ac28da23f03cda27890ef307dbbdbc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20=20Sk=C3=B6ld?= Date: Wed, 7 Aug 2024 18:11:16 +0200 Subject: [PATCH] Fix loading on new comfyui frontend --- web/js/simpleKSampler.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/js/simpleKSampler.js b/web/js/simpleKSampler.js index 522a8ee..f209590 100644 --- a/web/js/simpleKSampler.js +++ b/web/js/simpleKSampler.js @@ -23,13 +23,13 @@ app.registerExtension({ }; nodeType.prototype.onNodeCreated = function () { - this.inputs[3].type = ['STRING', 'CONDITIONING']; - this.inputs[4].type = ['STRING', 'CONDITIONING']; + //this.inputs[3].type = ['STRING', 'CONDITIONING']; + //this.inputs[4].type = ['STRING', 'CONDITIONING']; }; nodeType.prototype.onConfigure = function () { - this.inputs[3].type = ['STRING', 'CONDITIONING']; - this.inputs[4].type = ['STRING', 'CONDITIONING']; + //this.inputs[3].type = ['STRING', 'CONDITIONING']; + //this.inputs[4].type = ['STRING', 'CONDITIONING']; }; } },