diff --git a/public/js/auth.js b/public/js/auth.js index 6fec67f0..975d748d 100644 --- a/public/js/auth.js +++ b/public/js/auth.js @@ -202,6 +202,10 @@ document.addEventListener('DOMContentLoaded', function() { function enterPreview() { document.body.classList.add('assistant-preview'); if (authScreen) authScreen.style.display = 'none'; + // The app container starts hidden and enterApp is what reveals it. Declining + // the overlay without doing the same left a hidden app under a hidden + // overlay — /assistant in the address bar and nothing on the screen. + if (mainApp) mainApp.style.display = 'block'; if (typeof window.activateTab === 'function') window.activateTab('assistant'); }