From: Ardis Lu Date: Thu, 8 Jun 2023 05:04:40 +0000 (-0700) Subject: Unwrap when settled X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=4a76a916c922645094654aa985b85d9a71d01a62;p=ard.is Unwrap when settled Reduces DOM node clutter --- diff --git a/index.html b/index.html index 86be298..4373c71 100644 --- a/index.html +++ b/index.html @@ -58,7 +58,7 @@ function tick() { if (ticksRemaining === 0) { - charElem.textContent = finalChar; + charElem.replaceWith(finalChar); return; } charElem.textContent = cycle[cycleIndex];