mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Oops, forgot to remove the node.status code - it's gone now
This commit is contained in:
parent
b9c26b653f
commit
d129fe6248
@ -12,7 +12,6 @@ module.exports = function(RED) {
|
|||||||
var tmp = {};
|
var tmp = {};
|
||||||
|
|
||||||
this.on("input", function(msg) {
|
this.on("input", function(msg) {
|
||||||
this.status({}); // blank out the status on a deploy
|
|
||||||
|
|
||||||
tmp.low = 1 // set this as the default low value
|
tmp.low = 1 // set this as the default low value
|
||||||
tmp.low_e = ""
|
tmp.low_e = ""
|
||||||
@ -69,7 +68,6 @@ module.exports = function(RED) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
RED.util.setMessageProperty(msg,node.property,value);
|
RED.util.setMessageProperty(msg,node.property,value);
|
||||||
this.status({fill:"grey",shape:"dot",text:"random: from " + tmp.low + " to " + tmp.high});
|
|
||||||
node.send(msg);
|
node.send(msg);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user