Fix typo in skooma
This commit is contained in:
parent
2ac1e0d4b8
commit
f137f8a5b9
1 changed files with 1 additions and 1 deletions
|
@ -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])
|
||||||
|
|
Loading…
Reference in a new issue