Fix checking for template objects in skooma.js
This commit is contained in:
parent
d703ae148d
commit
5f27242b3f
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