From: Carl Worth Date: Thu, 8 Dec 2022 07:56:10 +0000 (-0800) Subject: Fix class of comments element X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=58143f2d1cd0e7d8f8179c1a3fd37cf51615cb23;p=zombocom-ai Fix class of comments element So the new stlying actually works. --- diff --git a/index.html b/index.html index bc6e61e..d61e2d0 100644 --- a/index.html +++ b/index.html @@ -77,7 +77,7 @@
-
+

@@ -161,7 +161,7 @@ mute.addEventListener("click", () => { socket.on('comment', function(comment) { const dt = document.createElement('dt'); const dd = document.createElement('dd'); - dt.textContent = comment.name; + dt.textContent = comment.name + ':'; dd.textContent = comment.text; comments.appendChild(dt); comments.appendChild(dd); @@ -174,6 +174,7 @@ mute.addEventListener("click", () => { socket.on('reset', () => { images.replaceChildren(); + comments.replaceChildren(); }); socket.on('image', (image) => {