From 23e81adc8e24d4e25361f3ba3e59ee08e23025b0 Mon Sep 17 00:00:00 2001 From: KaruroChori Date: Sat, 18 Mar 2023 18:07:05 +0000 Subject: [PATCH] Update litegraph.js Prevent error since panel is not defined. --- src/litegraph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/litegraph.js b/src/litegraph.js index 6e64eb310..b22f6cc61 100644 --- a/src/litegraph.js +++ b/src/litegraph.js @@ -12298,7 +12298,7 @@ LGraphNode.prototype.executeAction = function(action) var ref_window = this.getCanvasWindow(); var that = this; var graphcanvas = this; - panel = this.createPanel(node.title || "",{ + var panel = this.createPanel(node.title || "",{ closable: true ,window: ref_window ,onOpen: function(){