diff --git a/app/static/js/chat.js b/app/static/js/chat.js index a804e8e..9fac14c 100644 --- a/app/static/js/chat.js +++ b/app/static/js/chat.js @@ -1,6 +1,5 @@ // ── Chat Widget JavaScript ── -// BASE_PATH is declared in main.js (loaded first on index.html) -if (typeof BASE_PATH === 'undefined') var BASE_PATH = window.BASE_PATH || ''; +// NOTE: Uses BASE_PATH from main.js (loaded before this file on index.html) let chatSessionId = sessionStorage.getItem('chat_session'); if (!chatSessionId) {