From 1600c5a6788a26f80c92fe65799f015a3066e96e Mon Sep 17 00:00:00 2001 From: BlakeOne <30273164+BlakeOne@users.noreply.github.com> Date: Thu, 18 Apr 2024 13:29:14 -0700 Subject: [PATCH] Update extension.js --- js/extension.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/extension.js b/js/extension.js index 22c76e8..73ff751 100644 --- a/js/extension.js +++ b/js/extension.js @@ -23,7 +23,7 @@ app.registerExtension({ if (widget.options && widget.options.property && node.properties[widget.options.property] !== undefined) { node.setProperty(widget.options.property, widget.value); } - if (widget.callback) { + if (widget.callback && widget.callback.length <= 3) { widget.callback(widget.value, this, node); } }