From cedf2d8b88cd5c53f76c9430a6c99aa28a511ddc Mon Sep 17 00:00:00 2001 From: dotJack Date: Sun, 14 Jan 2024 20:38:54 +0200 Subject: [PATCH] Convert ts to js via __dev__.sh --- web/comfyui/rgthree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/comfyui/rgthree.js b/web/comfyui/rgthree.js index 23701b3..994180c 100644 --- a/web/comfyui/rgthree.js +++ b/web/comfyui/rgthree.js @@ -96,7 +96,7 @@ class Rgthree extends EventTarget { const onSerialize = graph.onSerialize; graph.onSerialize = (data) => { this.initialGraphToPromptSerializedWorkflowBecauseComfyUIBrokeStuff = data; - onSerialize === null || onSerialize === void 0 ? void 0 : onSerialize.apply(graph, data); + onSerialize === null || onSerialize === void 0 ? void 0 : onSerialize.call(graph, data); }; const copyToClipboard = LGraphCanvas.prototype.copyToClipboard; LGraphCanvas.prototype.copyToClipboard = function (nodes) {