This build was committed by a bot.

This commit is contained in:
github-actions[bot]
2026-01-15 23:03:46 +00:00
parent cba801a155
commit 1be1a56cdd
3 changed files with 5 additions and 2 deletions

View File

@@ -792,6 +792,8 @@ $(el.threadPopover).on("click", async (e) => {
const tokens = Math.max(0, Math.ceil(totalChars / 4));
const k = tokens >= 1e3 ? Math.round(tokens / 1e3) + "k" : String(tokens);
alert(tokens + " tokens (" + k + ")");
} else if (act === "export") {
dl(`thread-${(th.title || "thread").replace(/\W/g, "_")}-${ts()}.json`, { version: 1, threads: [th] });
}
hideThreadPopover();
await THREAD.save();