Fix typo in skooma

This commit is contained in:
Talia 2021-08-16 19:26:45 +02:00
parent 2ac1e0d4b8
commit f137f8a5b9
Signed by: darkwiiplayer
GPG key ID: 7808674088232B3E

View file

@ -40,7 +40,7 @@ const parseArgs = (element, ...args) => {
parseArgs(element, ...arg) parseArgs(element, ...arg)
else else
for (let key in arg) for (let key in arg)
if (key == "style" && typeof(arg[key]=="object")) if (key == "style" && typeof(arg[key])=="object")
insertStyles(element.style, arg[key]) insertStyles(element.style, arg[key])
else if (key == "shadowRoot") else if (key == "shadowRoot")
parseArgs((element.shadowRoot || element.attachShadow({mode: "open"})), arg[key]) parseArgs((element.shadowRoot || element.attachShadow({mode: "open"})), arg[key])