Fix checking for template objects in skooma.js
This commit is contained in:
parent
46864950b2
commit
4aa9a658b4
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ const parseAttribute = (attribute) => {
|
|||
}
|
||||
|
||||
const parseArgs = (element, args) => {
|
||||
if ("content" in element) element = element.content
|
||||
if (element.content) element = element.content
|
||||
for (arg of args)
|
||||
if (typeof(arg) == "string")
|
||||
element.appendChild(document.createTextNode(arg))
|
||||
|
|
Loading…
Reference in a new issue