Skip to content

Make videos on the computer you already own. FreeVideo runs MiniMax H3 in as little as 8 GB of VRAM and 16 GB of RAM, and adapts its acceleration path to your hardware.

Chat: a hidden tab's prefix is set once even when the page has no title

Bowen Xue218333367e38
diff --git a/web/autopilot_chat.js b/web/autopilot_chat.js
index 26e5562..3526d82 100644
--- a/web/autopilot_chat.js
+++ b/web/autopilot_chat.js
@@ -1326,7 +1326,8 @@ export function agentChat(t, api, {open, edit, shown = () => true, changed = ()
titleBase = titleShown = null; return;
}
if (titleBase === null) titleBase = document.title;
- document.title = titleShown = t(...TAB_PREFIX[notice]) + titleBase;
+ // The browser trims and collapses spaces in a title; what it shows is what the next look compares with.
+ document.title = t(...TAB_PREFIX[notice]) + titleBase; titleShown = document.title;
}
const visible = () => { if (document.hidden) { seen = finished(); tab(); } else { tab(); if (reading()) void poll(); } };
document.addEventListener('visibilitychange', visible);