From: Raphaƫl Jakse Date: Fri, 31 Oct 2025 19:33:52 +0000 (+0100) Subject: Misc: Fix bad const use X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=5935f3156468a85d7b20a0b2e6db8b758ab66ef5;p=trivabble.git Misc: Fix bad const use Thanks @artlog / Philippe Lhardy Refs: issue #20, PR #28 --- diff --git a/public/trivabble.js b/public/trivabble.js index 247681e..ae16d62 100644 --- a/public/trivabble.js +++ b/public/trivabble.js @@ -870,7 +870,7 @@ } function chatMessage(sender, content, date) { - const msgId = ""; + let msgId = ""; if (sender && date) { msgId = "chatmsg-" + date + "--" + sender; if (document.getElementById(msgId)) {