From: Carl Worth Date: Mon, 4 May 2020 00:17:51 +0000 (-0700) Subject: Add another missing const X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=commitdiff_plain;h=f8523d253480b028d5791e8c0f76269de8829276 Add another missing const (Someday I'll fix things so that I can't commit non-lint-clean code.) --- diff --git a/empires/empires-client.js b/empires/empires-client.js index 511527b..bb8a41f 100644 --- a/empires/empires-client.js +++ b/empires/empires-client.js @@ -9,7 +9,7 @@ function add_message(severity, message) { ${message} × `; - message_area = document.getElementById('message-area'); + const message_area = document.getElementById('message-area'); message_area.insertAdjacentHTML('beforeend', message); }