From 6e6eceab2b21bda533d6d21680269ea610c3de7e Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 7 Dec 2022 22:19:07 +0100 Subject: [PATCH] Use strict equality checks --- src/js/elt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/elt.js b/src/js/elt.js index a8cc1d1..5a01162 100644 --- a/src/js/elt.js +++ b/src/js/elt.js @@ -25,7 +25,7 @@ export function elt(type, attrs, ...children) for (let child of children) { - if (typeof child != "string") + if (typeof child !== "string") { node.appendChild(child); }