From 1b8cb79bd181a8c7e3a0746d30a9d217b969ceb5 Mon Sep 17 00:00:00 2001 From: Chris Worcester Date: Sun, 21 Apr 2024 00:25:17 -0400 Subject: [PATCH] Fix warning --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index 9ce72eb..42aeebc 100644 --- a/script.js +++ b/script.js @@ -1,4 +1,4 @@ -var buttonContainer; +let buttonContainer; // Wrap the code inside a DOMContentLoaded event listener to ensure it runs after the DOM is fully loaded document.addEventListener("DOMContentLoaded", function () {