Fix typo in skooma
This commit is contained in:
parent
2aff89d173
commit
8c0c4f5614
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