From 54c3ec24b27176cc15930aa8e10a0f0c8e038a02 Mon Sep 17 00:00:00 2001 From: clumiere Date: Tue, 18 Jun 2019 17:06:02 +0800 Subject: [PATCH] check child null, otherwise when child is zero, it wont display --- src/vhtml.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vhtml.js b/src/vhtml.js index 0e03f69..5f3df5b 100644 --- a/src/vhtml.js +++ b/src/vhtml.js @@ -42,7 +42,7 @@ export default function h(name, attrs) { } else while (stack.length) { let child = stack.pop(); - if (child) { + if (child != null) { if (child.pop) { for (let i=child.length; i--; ) stack.push(child[i]); } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy