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=empires-html;a=commitdiff_plain;h=7da13d54894921539b424205e34bc287ea8d1064 Add another missing const (Someday I'll fix things so that I can't commit non-lint-clean code.) --- diff --git a/empires-client.js b/empires-client.js index 511527b..bb8a41f 100644 --- a/empires-client.js +++ b/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); }