Fix var declaration (#26)

This commit is contained in:
Chenlei Hu
2024-07-23 11:06:36 -04:00
committed by GitHub
parent 6280fbf2c7
commit d746f04431

View File

@@ -11049,7 +11049,7 @@ LGraphNode.prototype.executeAction = function(action)
}else{
// is not not connected
}
nodeNewType = false;
let nodeNewType = false;
if(typeof slotTypesDefault[fromSlotType] == "object" || typeof slotTypesDefault[fromSlotType] == "array"){
for(var typeX in slotTypesDefault[fromSlotType]){
if (opts.nodeType == slotTypesDefault[fromSlotType][typeX] || opts.nodeType == "AUTO"){