@@ -281,7 +281,7 @@ function MagicJS(scriptName = "MagicJS", logLevel = "INFO") {
if (attribKeys.includes(aKey)) {
if (retDict[mainKey]) {
retDict[mainKey][aKey] = aValue;
- attribs = retDict[mainKey].attribs;
+ let attribs = retDict[mainKey].attribs;
attribs[aKey] = aValue;
}
} else {
@@ -1173,7 +1173,7 @@ function ToolKit(scriptName, scriptId, options) {