Misc: Fix bad const use
authorRaphaël Jakse <raphael.trivabble@jakse.fr>
Fri, 31 Oct 2025 19:33:52 +0000 (20:33 +0100)
committerRaphaël Jakse <raphael.trivabble@jakse.fr>
Fri, 31 Oct 2025 19:34:57 +0000 (20:34 +0100)
Thanks @artlog / Philippe Lhardy

Refs: issue #20, PR #28

public/trivabble.js

index 247681edc658689c4aa7796cf0bc2bfe338f1c98..ae16d6208b9600369a4f78b6c44a3c2a42a3ea4c 100644 (file)
     }
 
     function chatMessage(sender, content, date) {
-        const msgId = "";
+        let msgId = "";
         if (sender && date) {
             msgId = "chatmsg-" + date + "--" + sender;
             if (document.getElementById(msgId)) {