mirror of https://github.com/node-red/node-red.git
Fix !=0 comparison
parent
1ed98a5963
commit
4fb86ab55a
|
|
@ -136,7 +136,7 @@ RED.nodes = (function() {
|
|||
|
||||
function addNode(n) {
|
||||
var ns;
|
||||
if (n.type.indexOf("subflow") != 0) {
|
||||
if (n.type.indexOf("subflow") !== 0) {
|
||||
if (n._def.set.module === "node-red") {
|
||||
ns = "node-red";
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue