mirror of https://github.com/node-red/node-red.git
commit
7eae669a34
|
@ -41,7 +41,7 @@ function DelayNode(n) {
|
|||
this.rateUnits = n.rateUnits;
|
||||
|
||||
if (n.timeoutUnits === "milliseconds") {
|
||||
this.timeout = n.timout;
|
||||
this.timeout = n.timeout;
|
||||
} else if (n.timeoutUnits === "seconds") {
|
||||
this.timeout = n.timeout * 1000;
|
||||
} else if (n.timeoutUnits === "minutes") {
|
||||
|
|
Loading…
Reference in New Issue