diff --git a/web/js/contextMenuHook.js b/web/js/contextMenuHook.js index c493e70..0fd35b4 100644 --- a/web/js/contextMenuHook.js +++ b/web/js/contextMenuHook.js @@ -83,7 +83,7 @@ app.registerExtension({ } triggerCallbacks("ctor", () => [values, options]); - ctxMenu.call(this, values, options); + return ctxMenu.call(this, values, options); }; LiteGraph.ContextMenu.prototype = ctxMenu.prototype; },