mirror of
https://github.com/coalaura/whiskr.git
synced 2025-09-08 00:29:54 +00:00
tweaks
This commit is contained in:
@@ -87,9 +87,13 @@
|
||||
window.notify = notify;
|
||||
|
||||
function updateTitle() {
|
||||
const title = chatTitle || (messages.length ? "New Chat" : "");
|
||||
|
||||
$title.classList.toggle("hidden", !messages.length);
|
||||
|
||||
$titleText.textContent = chatTitle || (messages.length ? "New Chat" : "");
|
||||
$titleText.textContent = title;
|
||||
|
||||
document.title = title || "whiskr";
|
||||
|
||||
storeValue("title", chatTitle);
|
||||
}
|
||||
|
Reference in New Issue
Block a user