diff --git a/src/utils/html.ts b/src/utils/html.ts index e85d4a0..01b081b 100644 --- a/src/utils/html.ts +++ b/src/utils/html.ts @@ -50,7 +50,7 @@ function createElement(elmName: string, props: {[index: string]: if (arg instanceof Node) { $elm.appendChild(arg); - } else if (arg !== null && typeof arg !== 'undefined') { + } else if (arg !== null && arg !== false && typeof arg !== 'undefined') { $elm.appendChild(document.createTextNode(arg)); } }