Fix bug introduced in latest version

This commit is contained in:
Talia 2022-04-28 09:11:11 +02:00
parent cdc5978897
commit 761533fb39

View file

@ -80,6 +80,7 @@ const nop = object => object
const node = (name, args, options) => {
let element
let custom = getCustom(args)
if ("nameFilter" in options) name = options.nameFilter(name)
if (options.xmlns)
element = document.createElementNS(options.xmlns, name, {is: custom})
else