mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Let function node spinner go to 0
This commit is contained in:
parent
bb70e796a1
commit
a27e8777aa
@ -41,7 +41,7 @@
|
|||||||
oneditprepare: function() {
|
oneditprepare: function() {
|
||||||
var that = this;
|
var that = this;
|
||||||
$( "#node-input-outputs" ).spinner({
|
$( "#node-input-outputs" ).spinner({
|
||||||
min:1,
|
min:0,
|
||||||
change: function(event, ui) {
|
change: function(event, ui) {
|
||||||
var value = this.value;
|
var value = this.value;
|
||||||
if (!value.match(/^\d+$/)) { value = 1; }
|
if (!value.match(/^\d+$/)) { value = 1; }
|
||||||
|
Loading…
Reference in New Issue
Block a user