1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix !=0 comparison

This commit is contained in:
Nick O'Leary 2015-05-14 19:57:39 +01:00
parent 1ed98a5963
commit 4fb86ab55a

View File

@ -136,7 +136,7 @@ RED.nodes = (function() {
function addNode(n) { function addNode(n) {
var ns; var ns;
if (n.type.indexOf("subflow") != 0) { if (n.type.indexOf("subflow") !== 0) {
if (n._def.set.module === "node-red") { if (n._def.set.module === "node-red") {
ns = "node-red"; ns = "node-red";
} else { } else {