mirror of https://github.com/node-red/node-red.git
Fix milliseconds in delay
This commit is contained in:
parent
f2ed2365cd
commit
4b3f26bed5
|
@ -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