From 4fb86ab55a1c90ebb3eb249cc8e3ddbb5e9e5e2b Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Thu, 14 May 2015 19:57:39 +0100 Subject: [PATCH] Fix !=0 comparison --- editor/js/nodes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/js/nodes.js b/editor/js/nodes.js index 8e617f27a..27f7d0fe8 100644 --- a/editor/js/nodes.js +++ b/editor/js/nodes.js @@ -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 {