Limit number of ports in function node

This commit is contained in:
Kazuhito Yokoi 2022-09-16 02:10:14 +09:00
parent b0d9903fe2
commit 7507a7b459
1 changed files with 2 additions and 1 deletions

View File

@ -451,7 +451,8 @@
tabs.activateTab("func-tab-body");
$( "#node-input-outputs" ).spinner({
min:0,
min: 0,
max: 10,
change: function(event, ui) {
var value = this.value;
if (!value.match(/^\d+$/)) { value = 1; }