Fix bug introduced in latest version

This commit is contained in:
Talia 2022-04-28 09:11:11 +02:00
parent cdc5978897
commit 761533fb39
1 changed files with 1 additions and 0 deletions

View File

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