From 32f7b49f98ad59efae916bbb9760b6b55e042995 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Fri, 27 Mar 2026 14:46:34 -0400 Subject: [PATCH] fix: remove boot call from private init() to prevent hash-URL double-boot Private init() and lt.init() both called runBoot(), creating two code paths. With base.html# URLs the sessionStorage guard could be bypassed causing every boot line to appear twice. Boot is now exclusively triggered by lt.init() or lt.boot.run(), which already has its own _ltInitialized guard. Co-Authored-By: Claude Sonnet 4.6 --- base.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/base.js b/base.js index b2affb5..921ace9 100644 --- a/base.js +++ b/base.js @@ -1333,9 +1333,7 @@ /* v1.3 */ initMobileNav(); initSidebarSubmenus(); - /* Boot */ - const bootEl = document.getElementById('lt-boot'); - if (bootEl) runBoot(bootEl.dataset.appName || document.title); + /* Boot is handled exclusively by lt.init() or lt.boot.run() to avoid double-init */ } if (document.readyState === 'loading') {