fix not to use hasOwnProperty

This commit is contained in:
Hiroyasu Nishiyama 2022-02-08 09:21:52 +09:00
parent fb81121bd3
commit dc73997be3
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ RED.deploy = (function() {
var invalidNodes = [];
RED.nodes.eachConfig(function(node) {
if (!node.hasOwnProperty("valid")) {
if (node.valid === undefined) {
RED.editor.validateNode(node);
}
if (!node.valid && !node.d) {