Browse code

do not use msg.select as input

devnewton authored on 07/09/2017 12:49:08
Showing 1 changed files
... ...
@@ -19,9 +19,6 @@ module.exports = function (RED) {
19 19
         this.on("input", function (msg) {
20 20
             if (msg.hasOwnProperty("payload")) {
21 21
                 var tag = node.tag;
22
-                if (msg.hasOwnProperty("select")) {
23
-                    tag = node.tag || msg.select;
24
-                }
25 22
                 try {
26 23
                     var $ = cheerio.load(msg.payload, node.parseOptions);
27 24
                     var payloads = [];