]> gitweb.michael.orlitzky.com - charm-bypass.git/commitdiff
src/index.html.in: add a "const" to a javascript variable
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 16 Oct 2023 14:02:11 +0000 (10:02 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 16 Oct 2023 14:02:11 +0000 (10:02 -0400)
src/index.html.in

index 992d9eca903717b4c397a414d39daa7acb5c6dd5..b3407fc214e70b9c9607d767b01dfe1b5451d2d5 100644 (file)
       tt = document.getElementById("tickettime");
       tt.firstChild.textContent = date.toLocaleTimeString();
 
-      td = document.getElementById("ticketdate");
+      const td = document.getElementById("ticketdate");
       const dateopts = {
        day: "2-digit",
        month: "2-digit",