mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
fixes for speeling mistooks in smooth and msgpack fixes.
This commit is contained in:
@@ -29,7 +29,7 @@ module.exports = function(RED) {
|
||||
var old = null;
|
||||
|
||||
this.on('input', function (msg) {
|
||||
if msg.hasOwnProperty("payload")) {
|
||||
if (msg.hasOwnProperty("payload")) {
|
||||
var n = Number(msg.payload);
|
||||
if (!isNaN(n)) {
|
||||
if ((node.action === "low") || (node.action === "high")) {
|
||||
|
Reference in New Issue
Block a user