From 0d2da18783f8c01a7287d25a8fceb3912fc3166c Mon Sep 17 00:00:00 2001 From: rgriffith Date: Thu, 19 Mar 2026 09:34:27 +0000 Subject: [PATCH] fix: call AiLab.init() on DOMContentLoaded so batch sim panel renders MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ai-lab.js IIFE defines the AiLab global with an init() method that calls renderPanel(), detectBackend(), loadAvailableDecks(), loadMetaCommanders(), loadPrecons(), and bindEvents() — but nothing ever invoked it. Added a DOMContentLoaded listener after the script tag in index.html to trigger initialization. --- ui/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/index.html b/ui/index.html index ad8c966..2d8f8dd 100644 --- a/ui/index.html +++ b/ui/index.html @@ -197,5 +197,6 @@ +