Fix undefined variable in skooma.js

This commit is contained in:
Talia 2021-05-17 17:19:32 +02:00
parent 137f586400
commit fb6b86bf7f
No known key found for this signature in database
GPG Key ID: AD727AD22802D0D6
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ const parseArgs = (element, args) => {
else if ("length" in arg) else if ("length" in arg)
parseArgs(element, arg) parseArgs(element, arg)
else else
for (key in arg) for (let key in arg)
element.setAttribute(key.replace(/([a-z])([A-Z])/g, "$1-$2"), parseAttribute(arg[key])) element.setAttribute(key.replace(/([a-z])([A-Z])/g, "$1-$2"), parseAttribute(arg[key]))
} }