From 8b701724933368f25e5347571238e9ca3e003d46 Mon Sep 17 00:00:00 2001 From: Andy Burke Date: Fri, 3 Oct 2025 15:38:40 -0700 Subject: [PATCH] fix: try to ensure chat and blurbs load properly initially --- public/tabs/blurbs/blurbs.html | 9 +++++---- public/tabs/chat/chat.html | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/public/tabs/blurbs/blurbs.html b/public/tabs/blurbs/blurbs.html index e874607..b58f697 100644 --- a/public/tabs/blurbs/blurbs.html +++ b/public/tabs/blurbs/blurbs.html @@ -144,6 +144,8 @@
+ +
- -
diff --git a/public/tabs/chat/chat.html b/public/tabs/chat/chat.html index cc10045..dacfde6 100644 --- a/public/tabs/chat/chat.html +++ b/public/tabs/chat/chat.html @@ -125,8 +125,8 @@ }); } - async function load_active_topic_for_chat() { - const topic_id = document.body.dataset.topic; + async function load_active_topic_for_chat(event) { + const topic_id = event?.detail?.topic_id ?? document.body.dataset.topic; if (!topic_id) return; const user = document.body.dataset.user ? JSON.parse(document.body.dataset.user) : null;